#398A1A#398A1A
#398A1A is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.163 H 139.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #398A1A |
|---|---|
| RGB | rgb(57, 138, 26) |
| HSL | hsl(103, 68%, 32%) |
| HSV | hsv(103, 81%, 54%) |
| CMYK | cmyk(58.7%, 0%, 81.2%, 45.9%) |
| CIE-LAB | lab(50.83, -44.67, 48.24) |
| CIE-LCH | lch(50.83, 65.75, 132.80°) |
| OKLab | oklab(56.14% -0.1232 0.1072) |
| OKLCH | oklch(56.14% 0.163 139) |
| XYZ | xyz(10.9618, 19.1205, 4.0900) |
| Luminance | 0.1912 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.49
Emerald Green
#028F1E
ΔE00 3.58
Dark Grass Green
#388004
ΔE00 3.78
True Green
#089404
ΔE00 4.23
Tree Green
#2A7E19
ΔE00 4.72
Irish Green
#019529
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#398A1A #6B1A8A
analogous
#718A1A #398A1A #1A8A33
triadic
#398A1A #1A398A #8A1A39
tetradic
#398A1A #1A718A #6B1A8A #8A331A
square
#398A1A #1A718A #6B1A8A #8A331A
split-complementary
#398A1A #331A8A #8A1A71
monochromatic
#0E2307 #245710 #398A1A #4EBD24 #6DDC43
Accessibility & contrast
On white
4.35
#398A1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#398A1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #398A1A
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##398A1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##398A1A | 1.00 | 4.35 | 4.82 | 4.82 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#847727
Tritanopia (blue-blind)
#308575
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #398a1a; /* rgb */ color: rgb(57, 138, 26); /* oklch */ color: oklch(56.1% 0.163 139.0);
Tailwind
colors: {
custom: {
50: '#79ad61',
500: '#398a1a',
950: '#000000',
},
}SCSS
$custom: #398a1a; $custom-light: #79ad61; $custom-dark: #000000;
JSON
{
"hex": "#398a1a",
"rgb": {
"r": 57,
"g": 138,
"b": 26
},
"hsl": {
"h": 103.393,
"s": 68.293,
"l": 32.157
},
"oklch": {
"l": 0.56136,
"c": 0.16327,
"h": 139
},
"luminance": 0.19121
}Semantic roles & 50–950 ramp
primary
#398A1A
secondary
#9B43BD
accent
#3DEBBB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A