#398F2C#398F2C
#398F2C is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.6% C 0.158 H 141.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #398F2C |
|---|---|
| RGB | rgb(57, 143, 44) |
| HSL | hsl(112, 53%, 37%) |
| HSV | hsv(112, 69%, 56%) |
| CMYK | cmyk(60.1%, 0%, 69.2%, 43.9%) |
| CIE-LAB | lab(52.61, -45.17, 43.28) |
| CIE-LCH | lch(52.61, 62.56, 136.23°) |
| OKLab | oklab(57.65% -0.1234 0.0993) |
| OKLCH | oklch(57.65% 0.158 141.2) |
| XYZ | xyz(11.9638, 20.6955, 5.7466) |
| Luminance | 0.2070 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.42
Emerald Green
#028F1E
ΔE00 2.95
Irish Green
#019529
ΔE00 3.32
Kelley Green
#009337
ΔE00 3.90
True Green
#089404
ΔE00 3.96
Fern Green
#548D44
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398F2C #822C8F
analogous
#6B8F2C #398F2C #2C8F51
triadic
#398F2C #2C398F #8F2C39
tetradic
#398F2C #2C6B8F #822C8F #8F512C
square
#398F2C #2C6B8F #822C8F #8F512C
split-complementary
#398F2C #512C8F #8F2C6B
monochromatic
#14310F #26601E #398F2C #4CBE3A #74D066
Accessibility & contrast
On white
4.09
#398F2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#398F2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398F2C
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398F2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398F2C | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 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)
#93821E
Deuteranopia (green-blind)
#887B35
Tritanopia (blue-blind)
#2D8B7B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #398f2c; /* rgb */ color: rgb(57, 143, 44); /* oklch */ color: oklch(57.6% 0.158 141.2);
Tailwind
colors: {
custom: {
50: '#79b16a',
500: '#398f2c',
950: '#000000',
},
}SCSS
$custom: #398f2c; $custom-light: #79b16a; $custom-dark: #000000;
JSON
{
"hex": "#398f2c",
"rgb": {
"r": 57,
"g": 143,
"b": 44
},
"hsl": {
"h": 112.121,
"s": 52.941,
"l": 36.667
},
"oklch": {
"l": 0.5765,
"c": 0.15846,
"h": 141.2
},
"luminance": 0.20697
}Semantic roles & 50–950 ramp
primary
#398F2C
secondary
#AB61B6
accent
#4BDCC9
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1107
muted
#7C807A