#398F2E#398F2E
#398F2E is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.157 H 141.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #398F2E |
|---|---|
| RGB | rgb(57, 143, 46) |
| HSL | hsl(113, 51%, 37%) |
| HSV | hsv(113, 68%, 56%) |
| CMYK | cmyk(60.1%, 0%, 67.8%, 43.9%) |
| CIE-LAB | lab(52.63, -44.98, 42.44) |
| CIE-LCH | lch(52.63, 61.84, 136.66°) |
| OKLab | oklab(57.67% -0.1228 0.0978) |
| OKLCH | oklch(57.67% 0.157 141.5) |
| XYZ | xyz(12.0023, 20.7110, 5.9494) |
| Luminance | 0.2071 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.47
Emerald Green
#028F1E
ΔE00 3.02
Irish Green
#019529
ΔE00 3.31
Kelley Green
#009337
ΔE00 3.73
True Green
#089404
ΔE00 4.16
Fern Green
#548D44
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398F2E #842E8F
analogous
#6A8F2E #398F2E #2E8F54
triadic
#398F2E #2E398F #8F2E39
tetradic
#398F2E #2E6A8F #842E8F #8F542E
square
#398F2E #2E6A8F #842E8F #8F542E
split-complementary
#398F2E #542E8F #8F2E6A
monochromatic
#143210 #27611F #398F2E #4BBD3D #74CF69
Accessibility & contrast
On white
4.08
#398F2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#398F2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398F2E
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398F2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398F2E | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938221
Deuteranopia (green-blind)
#887B37
Tritanopia (blue-blind)
#2C8B7B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #398f2e; /* rgb */ color: rgb(57, 143, 46); /* oklch */ color: oklch(57.7% 0.157 141.5);
Tailwind
colors: {
custom: {
50: '#79b16c',
500: '#398f2e',
950: '#000000',
},
}SCSS
$custom: #398f2e; $custom-light: #79b16c; $custom-dark: #000000;
JSON
{
"hex": "#398f2e",
"rgb": {
"r": 57,
"g": 143,
"b": 46
},
"hsl": {
"h": 113.196,
"s": 51.323,
"l": 37.059
},
"oklch": {
"l": 0.5767,
"c": 0.15699,
"h": 141.5
},
"luminance": 0.20712
}Semantic roles & 50–950 ramp
primary
#398F2E
secondary
#AC63B6
accent
#4DDBCB
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1107
muted
#7C807A