#398C2A#398C2A
#398C2A is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.156 H 140.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #398C2A |
|---|---|
| RGB | rgb(57, 140, 42) |
| HSL | hsl(111, 54%, 36%) |
| HSV | hsv(111, 70%, 55%) |
| CMYK | cmyk(59.3%, 0%, 70%, 45.1%) |
| CIE-LAB | lab(51.60, -44.21, 43.05) |
| CIE-LCH | lch(51.60, 61.71, 135.76°) |
| OKLab | oklab(56.81% -0.121 0.0986) |
| OKLCH | oklch(56.81% 0.156 140.8) |
| XYZ | xyz(11.4828, 19.7922, 5.4052) |
| Luminance | 0.1979 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.95
Emerald Green
#028F1E
ΔE00 3.07
Irish Green
#019529
ΔE00 4.02
Kelley Green
#009337
ΔE00 4.39
True Green
#089404
ΔE00 4.44
Fern Green
#548D44
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398C2A #7D2A8C
analogous
#6A8C2A #398C2A #2A8C4C
triadic
#398C2A #2A398C #8C2A39
tetradic
#398C2A #2A6A8C #7D2A8C #8C4C2A
square
#398C2A #2A6A8C #7D2A8C #8C4C2A
split-complementary
#398C2A #4C2A8C #8C2A6A
monochromatic
#132E0E #265D1C #398C2A #4CBB38 #72D061
Accessibility & contrast
On white
4.24
#398C2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#398C2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398C2A
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398C2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398C2A | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F1C
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#2E8878
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #398c2a; /* rgb */ color: rgb(57, 140, 42); /* oklch */ color: oklch(56.8% 0.156 140.8);
Tailwind
colors: {
custom: {
50: '#79ae69',
500: '#398c2a',
950: '#000000',
},
}SCSS
$custom: #398c2a; $custom-light: #79ae69; $custom-dark: #000000;
JSON
{
"hex": "#398c2a",
"rgb": {
"r": 57,
"g": 140,
"b": 42
},
"hsl": {
"h": 110.816,
"s": 53.846,
"l": 35.686
},
"oklch": {
"l": 0.56808,
"c": 0.15606,
"h": 140.8
},
"luminance": 0.19793
}Semantic roles & 50–950 ramp
primary
#398C2A
secondary
#A85CB5
accent
#4BDDC7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A