#398416#398416
#398416 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.5% C 0.158 H 138.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #398416 |
|---|---|
| RGB | rgb(57, 132, 22) |
| HSL | hsl(101, 71%, 30%) |
| HSV | hsv(101, 83%, 52%) |
| CMYK | cmyk(56.8%, 0%, 83.3%, 48.2%) |
| CIE-LAB | lab(48.80, -42.60, 47.58) |
| CIE-LCH | lch(48.80, 63.86, 131.84°) |
| OKLab | oklab(54.45% -0.1178 0.1052) |
| OKLCH | oklch(54.45% 0.158 138.2) |
| XYZ | xyz(10.0831, 17.4295, 3.5918) |
| Luminance | 0.1743 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.81
Tree Green
#2A7E19
ΔE00 2.94
Forestgreen (CSS)
#228B22
ΔE00 3.52
Green
#008000
ΔE00 3.83
Emerald Green
#028F1E
ΔE00 4.98
Avocado
#568203
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398416 #611684
analogous
#708416 #398416 #16842A
triadic
#398416 #163984 #841639
tetradic
#398416 #167084 #611684 #842A16
square
#398416 #167084 #611684 #842A16
split-complementary
#398416 #2A1684 #841670
monochromatic
#0C1B05 #22500D #398416 #50B81F #6CDE37
Accessibility & contrast
On white
4.68
#398416 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#398416 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #398416
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398416 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##398416 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#327F70
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #398416; /* rgb */ color: rgb(57, 132, 22); /* oklch */ color: oklch(54.5% 0.158 138.2);
Tailwind
colors: {
custom: {
50: '#79a85e',
500: '#398416',
950: '#000000',
},
}SCSS
$custom: #398416; $custom-light: #79a85e; $custom-dark: #000000;
JSON
{
"hex": "#398416",
"rgb": {
"r": 57,
"g": 132,
"b": 22
},
"hsl": {
"h": 100.909,
"s": 71.429,
"l": 30.196
},
"oklch": {
"l": 0.54452,
"c": 0.15795,
"h": 138.2
},
"luminance": 0.1743
}Semantic roles & 50–950 ramp
primary
#398416
secondary
#913DB8
accent
#3AEEB5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79