#398D2E#398D2E
#398D2E is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.154 H 141.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #398D2E |
|---|---|
| RGB | rgb(57, 141, 46) |
| HSL | hsl(113, 51%, 37%) |
| HSV | hsv(113, 67%, 55%) |
| CMYK | cmyk(59.6%, 0%, 67.4%, 44.7%) |
| CIE-LAB | lab(51.97, -44.21, 41.72) |
| CIE-LCH | lch(51.97, 60.78, 136.66°) |
| OKLab | oklab(57.12% -0.1207 0.0963) |
| OKLCH | oklch(57.12% 0.154 141.4) |
| XYZ | xyz(11.7048, 20.1158, 5.8502) |
| Luminance | 0.2012 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.17
Emerald Green
#028F1E
ΔE00 3.11
Irish Green
#019529
ΔE00 3.76
Kelley Green
#009337
ΔE00 3.94
Fern Green
#548D44
ΔE00 4.31
True Green
#089404
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398D2E #822E8D
analogous
#698D2E #398D2E #2E8D53
triadic
#398D2E #2E398D #8D2E39
tetradic
#398D2E #2E698D #822E8D #8D532E
square
#398D2E #2E698D #822E8D #8D532E
split-complementary
#398D2E #532E8D #8D2E69
monochromatic
#143110 #265F1F #398D2E #4CBB3D #74CE68
Accessibility & contrast
On white
4.18
#398D2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#398D2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398D2E
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398D2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398D2E | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#2D8979
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #398d2e; /* rgb */ color: rgb(57, 141, 46); /* oklch */ color: oklch(57.1% 0.154 141.4);
Tailwind
colors: {
custom: {
50: '#79af6b',
500: '#398d2e',
950: '#000000',
},
}SCSS
$custom: #398d2e; $custom-light: #79af6b; $custom-dark: #000000;
JSON
{
"hex": "#398d2e",
"rgb": {
"r": 57,
"g": 141,
"b": 46
},
"hsl": {
"h": 113.053,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.57122,
"c": 0.15441,
"h": 141.4
},
"luminance": 0.20117
}Semantic roles & 50–950 ramp
primary
#398D2E
secondary
#AB62B5
accent
#4EDACA
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1007
muted
#7C7F7A