#398A2E#398A2E
#398A2E is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.3% C 0.150 H 141.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #398A2E |
|---|---|
| RGB | rgb(57, 138, 46) |
| HSL | hsl(113, 50%, 36%) |
| HSV | hsv(113, 67%, 54%) |
| CMYK | cmyk(58.7%, 0%, 66.7%, 45.9%) |
| CIE-LAB | lab(50.97, -43.04, 40.63) |
| CIE-LCH | lch(50.97, 59.19, 136.65°) |
| OKLab | oklab(56.3% -0.1175 0.094) |
| OKLCH | oklch(56.3% 0.15 141.4) |
| XYZ | xyz(11.2684, 19.2431, 5.7047) |
| Luminance | 0.1924 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.13
Emerald Green
#028F1E
ΔE00 3.53
Fern Green
#548D44
ΔE00 4.35
Kelley Green
#009337
ΔE00 4.46
Irish Green
#019529
ΔE00 4.57
Tree Green
#2A7E19
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398A2E #7F2E8A
analogous
#678A2E #398A2E #2E8A51
triadic
#398A2E #2E398A #8A2E39
tetradic
#398A2E #2E678A #7F2E8A #8A512E
square
#398A2E #2E678A #7F2E8A #8A512E
split-complementary
#398A2E #512E8A #8A2E67
monochromatic
#132E0F #265C1F #398A2E #4CB83D #72CC66
Accessibility & contrast
On white
4.33
#398A2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#398A2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398A2E
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398A2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398A2E | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7E22
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#2E8677
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #398a2e; /* rgb */ color: rgb(57, 138, 46); /* oklch */ color: oklch(56.3% 0.150 141.4);
Tailwind
colors: {
custom: {
50: '#78ad6b',
500: '#398a2e',
950: '#000000',
},
}SCSS
$custom: #398a2e; $custom-light: #78ad6b; $custom-dark: #000000;
JSON
{
"hex": "#398a2e",
"rgb": {
"r": 57,
"g": 138,
"b": 46
},
"hsl": {
"h": 112.826,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.56299,
"c": 0.15049,
"h": 141.4
},
"luminance": 0.19244
}Semantic roles & 50–950 ramp
primary
#398A2E
secondary
#A961B3
accent
#4EDAC9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A