#398E2F#398E2F
#398E2F is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.4% C 0.155 H 141.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #398E2F |
|---|---|
| RGB | rgb(57, 142, 47) |
| HSL | hsl(114, 50%, 37%) |
| HSV | hsv(114, 67%, 56%) |
| CMYK | cmyk(59.9%, 0%, 66.9%, 44.3%) |
| CIE-LAB | lab(52.31, -44.49, 41.65) |
| CIE-LCH | lch(52.31, 60.94, 136.89°) |
| OKLab | oklab(57.41% -0.1214 0.0963) |
| OKLCH | oklch(57.41% 0.155 141.6) |
| XYZ | xyz(11.8728, 20.4200, 6.0046) |
| Luminance | 0.2042 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.35
Emerald Green
#028F1E
ΔE00 3.09
Irish Green
#019529
ΔE00 3.53
Kelley Green
#009337
ΔE00 3.74
Fern Green
#548D44
ΔE00 4.27
True Green
#089404
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398E2F #842F8E
analogous
#698E2F #398E2F #2F8E54
triadic
#398E2F #2F398E #8E2F39
tetradic
#398E2F #2F698E #842F8E #8E542F
square
#398E2F #2F698E #842F8E #8E542F
split-complementary
#398E2F #542F8E #8E2F69
monochromatic
#143211 #276020 #398E2F #4BBC3E #74CE6A
Accessibility & contrast
On white
4.13
#398E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#398E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398E2F
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398E2F | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#2C8A7A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #398e2f; /* rgb */ color: rgb(57, 142, 47); /* oklch */ color: oklch(57.4% 0.155 141.6);
Tailwind
colors: {
custom: {
50: '#79b06c',
500: '#398e2f',
950: '#000000',
},
}SCSS
$custom: #398e2f; $custom-light: #79b06c; $custom-dark: #000000;
JSON
{
"hex": "#398e2f",
"rgb": {
"r": 57,
"g": 142,
"b": 47
},
"hsl": {
"h": 113.684,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.57406,
"c": 0.15495,
"h": 141.6
},
"luminance": 0.20421
}Semantic roles & 50–950 ramp
primary
#398E2F
secondary
#AC64B5
accent
#4EDACB
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#0A1007
muted
#7C7F7A