#398F1E#398F1E
#398F1E is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.167 H 139.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #398F1E |
|---|---|
| RGB | rgb(57, 143, 30) |
| HSL | hsl(106, 65%, 34%) |
| HSV | hsv(106, 79%, 56%) |
| CMYK | cmyk(60.1%, 0%, 79%, 43.9%) |
| CIE-LAB | lab(52.52, -46.30, 48.54) |
| CIE-LCH | lch(52.52, 67.08, 133.64°) |
| OKLab | oklab(57.54% -0.1273 0.1084) |
| OKLCH | oklch(57.54% 0.167 139.6) |
| XYZ | xyz(11.7436, 20.6075, 4.5868) |
| Luminance | 0.2061 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.80
True Green
#089404
ΔE00 3.10
Emerald Green
#028F1E
ΔE00 3.14
Irish Green
#019529
ΔE00 3.88
Grass Green
#3F9B0B
ΔE00 4.58
Grassy Green
#419C03
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398F1E #741E8F
analogous
#728F1E #398F1E #1E8F3C
triadic
#398F1E #1E398F #8F1E39
tetradic
#398F1E #1E728F #741E8F #8F3C1E
square
#398F1E #1E728F #741E8F #8F3C1E
split-complementary
#398F1E #3C1E8F #8F1E72
monochromatic
#112A09 #255C13 #398F1E #4DC229 #6FDA4E
Accessibility & contrast
On white
4.10
#398F1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#398F1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398F1E
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398F1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398F1E | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938201
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#2F8A7A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #398f1e; /* rgb */ color: rgb(57, 143, 30); /* oklch */ color: oklch(57.5% 0.167 139.6);
Tailwind
colors: {
custom: {
50: '#7ab163',
500: '#398f1e',
950: '#000000',
},
}SCSS
$custom: #398f1e; $custom-light: #7ab163; $custom-dark: #000000;
JSON
{
"hex": "#398f1e",
"rgb": {
"r": 57,
"g": 143,
"b": 30
},
"hsl": {
"h": 105.664,
"s": 65.318,
"l": 33.922
},
"oklch": {
"l": 0.57538,
"c": 0.16722,
"h": 139.6
},
"luminance": 0.20609
}Semantic roles & 50–950 ramp
primary
#398F1E
secondary
#A24CBC
accent
#40E8C0
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1106
muted
#7C807A