#398F1A#398F1A
#398F1A 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 | #398F1A |
|---|---|
| RGB | rgb(57, 143, 26) |
| HSL | hsl(104, 69%, 33%) |
| HSV | hsv(104, 82%, 56%) |
| CMYK | cmyk(60.1%, 0%, 81.8%, 43.9%) |
| CIE-LAB | lab(52.50, -46.55, 49.81) |
| CIE-LCH | lch(52.50, 68.17, 133.06°) |
| OKLab | oklab(57.51% -0.1282 0.1105) |
| OKLCH | oklch(57.51% 0.169 139.3) |
| XYZ | xyz(11.6958, 20.5883, 4.3347) |
| Luminance | 0.2059 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 3.01
Forestgreen (CSS)
#228B22
ΔE00 3.03
Emerald Green
#028F1E
ΔE00 3.32
Irish Green
#019529
ΔE00 4.11
Grass Green
#3F9B0B
ΔE00 4.41
Grassy Green
#419C03
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398F1A #701A8F
analogous
#738F1A #398F1A #1A8F36
triadic
#398F1A #1A398F #8F1A39
tetradic
#398F1A #1A738F #701A8F #8F361A
square
#398F1A #1A738F #701A8F #8F361A
split-complementary
#398F1A #361A8F #8F1A73
monochromatic
#102707 #245B11 #398F1A #4EC323 #6EDD46
Accessibility & contrast
On white
4.10
#398F1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#398F1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398F1A
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398F1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398F1A | 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)
#897B28
Tritanopia (blue-blind)
#2F8A7A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #398f1a; /* rgb */ color: rgb(57, 143, 26); /* oklch */ color: oklch(57.5% 0.169 139.3);
Tailwind
colors: {
custom: {
50: '#7ab161',
500: '#398f1a',
950: '#000000',
},
}SCSS
$custom: #398f1a; $custom-light: #7ab161; $custom-dark: #000000;
JSON
{
"hex": "#398f1a",
"rgb": {
"r": 57,
"g": 143,
"b": 26
},
"hsl": {
"h": 104.103,
"s": 69.231,
"l": 33.137
},
"oklch": {
"l": 0.57514,
"c": 0.16922,
"h": 139.3
},
"luminance": 0.20589
}Semantic roles & 50–950 ramp
primary
#398F1A
secondary
#9F46BF
accent
#3CECBD
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1105
muted
#7C807A