#398F1B#398F1B
#398F1B is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.169 H 139.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #398F1B |
|---|---|
| RGB | rgb(57, 143, 27) |
| HSL | hsl(104, 68%, 33%) |
| HSV | hsv(104, 81%, 56%) |
| CMYK | cmyk(60.1%, 0%, 81.1%, 43.9%) |
| CIE-LAB | lab(52.50, -46.49, 49.50) |
| CIE-LCH | lch(52.50, 67.91, 133.20°) |
| OKLab | oklab(57.52% -0.128 0.11) |
| OKLCH | oklch(57.52% 0.169 139.3) |
| XYZ | xyz(11.7071, 20.5929, 4.3946) |
| Luminance | 0.2059 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.97
True Green
#089404
ΔE00 3.03
Emerald Green
#028F1E
ΔE00 3.27
Irish Green
#019529
ΔE00 4.05
Grass Green
#3F9B0B
ΔE00 4.45
Grassy Green
#419C03
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398F1B #711B8F
analogous
#738F1B #398F1B #1B8F37
triadic
#398F1B #1B398F #8F1B39
tetradic
#398F1B #1B738F #711B8F #8F371B
square
#398F1B #1B738F #711B8F #8F371B
split-complementary
#398F1B #371B8F #8F1B73
monochromatic
#102808 #245C11 #398F1B #4EC225 #6EDC48
Accessibility & contrast
On white
4.10
#398F1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#398F1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398F1B
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398F1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398F1B | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#2F8A7A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #398f1b; /* rgb */ color: rgb(57, 143, 27); /* oklch */ color: oklch(57.5% 0.169 139.3);
Tailwind
colors: {
custom: {
50: '#7ab162',
500: '#398f1b',
950: '#000000',
},
}SCSS
$custom: #398f1b; $custom-light: #7ab162; $custom-dark: #000000;
JSON
{
"hex": "#398f1b",
"rgb": {
"r": 57,
"g": 143,
"b": 27
},
"hsl": {
"h": 104.483,
"s": 68.235,
"l": 33.333
},
"oklch": {
"l": 0.5752,
"c": 0.16874,
"h": 139.3
},
"luminance": 0.20594
}Semantic roles & 50–950 ramp
primary
#398F1B
secondary
#A048BE
accent
#3DEBBE
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1106
muted
#7C807A