#398B2A#398B2A
#398B2A is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.155 H 140.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #398B2A |
|---|---|
| RGB | rgb(57, 139, 42) |
| HSL | hsl(111, 54%, 35%) |
| HSV | hsv(111, 70%, 55%) |
| CMYK | cmyk(59%, 0%, 69.8%, 45.5%) |
| CIE-LAB | lab(51.27, -43.82, 42.70) |
| CIE-LCH | lch(51.27, 61.18, 135.75°) |
| OKLab | oklab(56.53% -0.1199 0.0979) |
| OKLCH | oklch(56.53% 0.155 140.8) |
| XYZ | xyz(11.3373, 19.5013, 5.3567) |
| Luminance | 0.1950 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.91
Emerald Green
#028F1E
ΔE00 3.20
Irish Green
#019529
ΔE00 4.28
Kelley Green
#009337
ΔE00 4.54
Fern Green
#548D44
ΔE00 4.64
True Green
#089404
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398B2A #7C2A8B
analogous
#698B2A #398B2A #2A8B4C
triadic
#398B2A #2A398B #8B2A39
tetradic
#398B2A #2A698B #7C2A8B #8B4C2A
square
#398B2A #2A698B #7C2A8B #8B4C2A
split-complementary
#398B2A #4C2A8B #8B2A69
monochromatic
#122D0E #265C1C #398B2A #4CBA38 #71CF60
Accessibility & contrast
On white
4.29
#398B2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#398B2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398B2A
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398B2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398B2A | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E1C
Deuteranopia (green-blind)
#847833
Tritanopia (blue-blind)
#2E8777
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #398b2a; /* rgb */ color: rgb(57, 139, 42); /* oklch */ color: oklch(56.5% 0.155 140.8);
Tailwind
colors: {
custom: {
50: '#79ae69',
500: '#398b2a',
950: '#000000',
},
}SCSS
$custom: #398b2a; $custom-light: #79ae69; $custom-dark: #000000;
JSON
{
"hex": "#398b2a",
"rgb": {
"r": 57,
"g": 139,
"b": 42
},
"hsl": {
"h": 110.722,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.56534,
"c": 0.15478,
"h": 140.8
},
"luminance": 0.19502
}Semantic roles & 50–950 ramp
primary
#398B2A
secondary
#A75CB5
accent
#4BDDC6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A