#398C2E#398C2E
#398C2E is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.153 H 141.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #398C2E |
|---|---|
| RGB | rgb(57, 140, 46) |
| HSL | hsl(113, 51%, 36%) |
| HSV | hsv(113, 67%, 55%) |
| CMYK | cmyk(59.3%, 0%, 67.1%, 45.1%) |
| CIE-LAB | lab(51.64, -43.82, 41.36) |
| CIE-LCH | lch(51.64, 60.25, 136.66°) |
| OKLab | oklab(56.85% -0.1197 0.0955) |
| OKLCH | oklch(56.85% 0.153 141.4) |
| XYZ | xyz(11.5580, 19.8223, 5.8012) |
| Luminance | 0.1982 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.10
Emerald Green
#028F1E
ΔE00 3.21
Irish Green
#019529
ΔE00 4.01
Kelley Green
#009337
ΔE00 4.09
Fern Green
#548D44
ΔE00 4.29
True Green
#089404
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398C2E #812E8C
analogous
#688C2E #398C2E #2E8C52
triadic
#398C2E #2E398C #8C2E39
tetradic
#398C2E #2E688C #812E8C #8C522E
square
#398C2E #2E688C #812E8C #8C522E
split-complementary
#398C2E #522E8C #8C2E68
monochromatic
#133010 #265E1F #398C2E #4CBA3D #73CD67
Accessibility & contrast
On white
4.23
#398C2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#398C2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398C2E
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398C2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398C2E | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 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)
#8F7F22
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#2D8879
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #398c2e; /* rgb */ color: rgb(57, 140, 46); /* oklch */ color: oklch(56.8% 0.153 141.4);
Tailwind
colors: {
custom: {
50: '#79ae6b',
500: '#398c2e',
950: '#000000',
},
}SCSS
$custom: #398c2e; $custom-light: #79ae6b; $custom-dark: #000000;
JSON
{
"hex": "#398c2e",
"rgb": {
"r": 57,
"g": 140,
"b": 46
},
"hsl": {
"h": 112.979,
"s": 50.538,
"l": 36.471
},
"oklch": {
"l": 0.56848,
"c": 0.15311,
"h": 141.4
},
"luminance": 0.19823
}Semantic roles & 50–950 ramp
primary
#398C2E
secondary
#AA62B4
accent
#4EDACA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A