#198B21#198B21
#198B21 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.172 H 143.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #198B21 |
|---|---|
| RGB | rgb(25, 139, 33) |
| HSL | hsl(124, 70%, 32%) |
| HSV | hsv(124, 82%, 55%) |
| CMYK | cmyk(82%, 0%, 76.3%, 45.5%) |
| CIE-LAB | lab(50.43, -51.02, 45.17) |
| CIE-LCH | lch(50.43, 68.15, 138.48°) |
| OKLab | oklab(55.6% -0.1381 0.1021) |
| OKLCH | oklch(55.6% 0.172 143.5) |
| XYZ | xyz(9.9074, 18.7805, 4.5414) |
| Luminance | 0.1878 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.49
Emerald Green
#028F1E
ΔE00 1.51
Irish Green
#019529
ΔE00 3.49
Kelley Green
#009337
ΔE00 3.85
True Green
#089404
ΔE00 3.93
Green
#008000
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#198B21 #8B1983
analogous
#4A8B19 #198B21 #198B5A
triadic
#198B21 #21198B #8B2119
tetradic
#198B21 #194A8B #8B1983 #8B5A19
square
#198B21 #194A8B #8B1983 #8B5A19
split-complementary
#198B21 #5A198B #8B194A
monochromatic
#062308 #105715 #198B21 #22BF2D #41DD4C
Accessibility & contrast
On white
4.42
#198B21 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#198B21 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #198B21
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##198B21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##198B21 | 1.00 | 4.42 | 4.76 | 4.76 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D0C
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #198b21; /* rgb */ color: rgb(25, 139, 33); /* oklch */ color: oklch(55.6% 0.172 143.5);
Tailwind
colors: {
custom: {
50: '#6dae64',
500: '#198b21',
950: '#000000',
},
}SCSS
$custom: #198b21; $custom-light: #6dae64; $custom-dark: #000000;
JSON
{
"hex": "#198b21",
"rgb": {
"r": 25,
"g": 139,
"b": 33
},
"hsl": {
"h": 124.211,
"s": 69.512,
"l": 32.157
},
"oklch": {
"l": 0.55597,
"c": 0.17175,
"h": 143.5
},
"luminance": 0.18782
}Semantic roles & 50–950 ramp
primary
#198B21
secondary
#BE42B5
accent
#3BE0EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A