#398E1F#398E1F
#398E1F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.165 H 139.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #398E1F |
|---|---|
| RGB | rgb(57, 142, 31) |
| HSL | hsl(106, 64%, 34%) |
| HSV | hsv(106, 78%, 56%) |
| CMYK | cmyk(59.9%, 0%, 78.2%, 44.3%) |
| CIE-LAB | lab(52.19, -45.86, 47.89) |
| CIE-LCH | lch(52.19, 66.30, 133.76°) |
| OKLab | oklab(57.27% -0.1261 0.1072) |
| OKLCH | oklch(57.27% 0.165 139.6) |
| XYZ | xyz(11.6072, 20.3138, 4.6053) |
| Luminance | 0.2031 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.55
Emerald Green
#028F1E
ΔE00 3.08
True Green
#089404
ΔE00 3.34
Irish Green
#019529
ΔE00 3.99
Grass Green
#3F9B0B
ΔE00 4.96
Kelley Green
#009337
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398E1F #741F8E
analogous
#718E1F #398E1F #1F8E3D
triadic
#398E1F #1F398E #8E1F39
tetradic
#398E1F #1F718E #741F8E #8E3D1F
square
#398E1F #1F718E #741F8E #8E3D1F
split-complementary
#398E1F #3D1F8E #8E1F71
monochromatic
#112A09 #255C14 #398E1F #4DC02A #6FD94F
Accessibility & contrast
On white
4.15
#398E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#398E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398E1F
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398E1F | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928104
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#2F8979
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #398e1f; /* rgb */ color: rgb(57, 142, 31); /* oklch */ color: oklch(57.3% 0.165 139.6);
Tailwind
colors: {
custom: {
50: '#7ab063',
500: '#398e1f',
950: '#000000',
},
}SCSS
$custom: #398e1f; $custom-light: #7ab063; $custom-dark: #000000;
JSON
{
"hex": "#398e1f",
"rgb": {
"r": 57,
"g": 142,
"b": 31
},
"hsl": {
"h": 105.946,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.5727,
"c": 0.16549,
"h": 139.6
},
"luminance": 0.20315
}Semantic roles & 50–950 ramp
primary
#398E1F
secondary
#A24DBB
accent
#41E7C0
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A