# #338a28 color: Direct Green

#338a28 is rgb(51, 138, 40) in RGB and oklch(56.026% 0.15755 141.494) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/338a28

## Formats

| Format | Value |
| --- | --- |
| HEX | #338a28 |
| RGB | rgb(51, 138, 40) |
| HSL | hsl(113.27, 55.06%, 34.9%) |
| HSB / HSV | hsv(113.27 71.01% 54.12%) |
| HWB | hwb(113.27 15.69% 45.88%) |
| CMYK | cmyk(63% 0% 71% 46%) |
| Lab | lab(50.79 -41.51 42.05) |
| LCH | lch(50.79 59.08 134.63) |
| OKLab | oklab(56.026% -0.12329 0.09809) |
| OKLCH | oklch(56.026% 0.15755 141.494) |
| Display P3 | color(display-p3 0.2982 0.53394 0.21593) |
| Rec. 2020 | color(rec2020 0.30005 0.47497 0.16445) |
| Adobe RGB | color(a98-rgb 0.34466 0.5364 0.20548) |
| ProPhoto RGB | color(prophoto-rgb 0.28501 0.43753 0.18684) |
| Linear sRGB | color(srgb-linear 0.0331 0.25415 0.02122) |
| XYZ D65 | color(xyz-d65 0.10836 0.19033 0.0511) |
| XYZ D50 | color(xyz-d50 0.11536 0.19085 0.04029) |
| SwiftUI | Color(red: 0.2, green: 0.541, blue: 0.157) |
| UIKit | UIColor(red: 0.2, green: 0.541, blue: 0.157, alpha: 1) |
| Flutter / Compose | Color(0xFF338A28) |
| Android XML | #338A28 |

## Facts

- Closest name: Direct Green
- Hue family: Green, bright green
- Closest Tailwind class: lime-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 4.37:1
- Contrast with black: 4.81:1

## Tints

#338a28, #4b9641, #60a257, #74ad6c, #88b981, #9cc596, #afd0aa, #c3dcbf, #d7e8d4, #ebf3ea

## Shades

#338a28, #2b7721, #23651b, #1c5315, #14420f, #0d3209, #072204, #031402, #010701, #000100

## Tones

#338a28, #3d8833, #45863d, #4d8446, #54824d, #5a8055, #607e5b, #657c62, #6b7968, #70776e

## Harmonies

- Complementary: #338a28, #9d50ab
- Split: #338a28, #785fc8, #b6457f
- Analogous: #338a28, #787b00, #008c6b
- Triadic: #338a28, #3d70d0, #bf454a
- Tetradic: #338a28, #008791, #9d50ab, #bf454a
- Square: #338a28, #0080b6, #9d50ab, #b95200
- Monochromatic: #338a28, #004100, #006600, #5ab04f, #80d775

## Questions about #338a28

### What color is #338a28?

#338a28 is bright green. The closest named color is Direct Green. In RGB it is rgb(51, 138, 40), in HSL hsl(113.27, 55.06%, 34.9%) and in OKLCH oklch(56.026% 0.15755 141.494).

### What colors go well with #338a28?

The complementary color of #338a28 is #9d50ab. For a calmer combination use the analogous colors #787b00 and #008c6b. The triadic partners are #3d70d0 and #bf454a.

### Is white or black text more readable on #338a28?

White text reads better on #338a28: white gives a contrast ratio of 4.37:1 and black gives 4.81:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #338a28 a warm or cool color?

#338a28 is a neutral color. In OKLCH its hue is 141 degrees, its lightness 56% and its chroma 0.158.
