#398C2F#398C2F
#398C2F is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.9% C 0.152 H 141.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #398C2F |
|---|---|
| RGB | rgb(57, 140, 47) |
| HSL | hsl(114, 50%, 37%) |
| HSV | hsv(114, 66%, 55%) |
| CMYK | cmyk(59.3%, 0%, 66.4%, 45.1%) |
| CIE-LAB | lab(51.64, -43.72, 40.92) |
| CIE-LCH | lch(51.64, 59.88, 136.89°) |
| OKLab | oklab(56.86% -0.1193 0.0947) |
| OKLCH | oklch(56.86% 0.152 141.6) |
| XYZ | xyz(11.5779, 19.8302, 5.9063) |
| Luminance | 0.1983 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.16
Emerald Green
#028F1E
ΔE00 3.27
Kelley Green
#009337
ΔE00 4.02
Irish Green
#019529
ΔE00 4.02
Fern Green
#548D44
ΔE00 4.21
True Green
#089404
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398C2F #822F8C
analogous
#688C2F #398C2F #2F8C54
triadic
#398C2F #2F398C #8C2F39
tetradic
#398C2F #2F688C #822F8C #8C542F
square
#398C2F #2F688C #822F8C #8C542F
split-complementary
#398C2F #542F8C #8C2F68
monochromatic
#143010 #265E20 #398C2F #4CBA3E #74CD69
Accessibility & contrast
On white
4.23
#398C2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#398C2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398C2F
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398C2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398C2F | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#857837
Tritanopia (blue-blind)
#2D8879
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #398c2f; /* rgb */ color: rgb(57, 140, 47); /* oklch */ color: oklch(56.9% 0.152 141.6);
Tailwind
colors: {
custom: {
50: '#79ae6c',
500: '#398c2f',
950: '#000000',
},
}SCSS
$custom: #398c2f; $custom-light: #79ae6c; $custom-dark: #000000;
JSON
{
"hex": "#398c2f",
"rgb": {
"r": 57,
"g": 140,
"b": 47
},
"hsl": {
"h": 113.548,
"s": 49.733,
"l": 36.667
},
"oklch": {
"l": 0.56858,
"c": 0.15235,
"h": 141.6
},
"luminance": 0.19831
}Semantic roles & 50–950 ramp
primary
#398C2F
secondary
#AB63B4
accent
#4FD9CA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A