#398116#398116
#398116 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.154 H 138.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #398116 |
|---|---|
| RGB | rgb(57, 129, 22) |
| HSL | hsl(100, 71%, 30%) |
| HSV | hsv(100, 83%, 51%) |
| CMYK | cmyk(55.8%, 0%, 82.9%, 49.4%) |
| CIE-LAB | lab(47.79, -41.43, 46.64) |
| CIE-LCH | lch(47.79, 62.38, 131.61°) |
| OKLab | oklab(53.62% -0.1147 0.1032) |
| OKLCH | oklch(53.62% 0.154 138) |
| XYZ | xyz(9.6821, 16.6275, 3.4581) |
| Luminance | 0.1663 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.31
Tree Green
#2A7E19
ΔE00 2.21
Green
#008000
ΔE00 3.57
Forestgreen (CSS)
#228B22
ΔE00 4.29
Avocado
#568203
ΔE00 5.42
Emerald Green
#028F1E
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398116 #5E1681
analogous
#6F8116 #398116 #168129
triadic
#398116 #163981 #811639
tetradic
#398116 #166F81 #5E1681 #812916
square
#398116 #166F81 #5E1681 #812916
split-complementary
#398116 #291681 #81166F
monochromatic
#0C1A04 #224D0D #398116 #50B51F #6CDD35
Accessibility & contrast
On white
4.85
#398116 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#398116 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #398116
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398116 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##398116 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#337C6D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #398116; /* rgb */ color: rgb(57, 129, 22); /* oklch */ color: oklch(53.6% 0.154 138.0);
Tailwind
colors: {
custom: {
50: '#78a65e',
500: '#398116',
950: '#000000',
},
}SCSS
$custom: #398116; $custom-light: #78a65e; $custom-dark: #000000;
JSON
{
"hex": "#398116",
"rgb": {
"r": 57,
"g": 129,
"b": 22
},
"hsl": {
"h": 100.374,
"s": 70.861,
"l": 29.608
},
"oklch": {
"l": 0.53619,
"c": 0.15431,
"h": 138
},
"luminance": 0.16628
}Semantic roles & 50–950 ramp
primary
#398116
secondary
#8E3DB6
accent
#3AEEB3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79