#198B27#198B27
#198B27 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.168 H 144.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #198B27 |
|---|---|
| RGB | rgb(25, 139, 39) |
| HSL | hsl(127, 70%, 32%) |
| HSV | hsv(127, 82%, 55%) |
| CMYK | cmyk(82%, 0%, 71.9%, 45.5%) |
| CIE-LAB | lab(50.47, -50.49, 42.87) |
| CIE-LCH | lch(50.47, 66.23, 139.66°) |
| OKLab | oklab(55.65% -0.1364 0.0981) |
| OKLCH | oklch(55.65% 0.168 144.3) |
| XYZ | xyz(9.9990, 18.8172, 5.0242) |
| Luminance | 0.1882 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.96
Emerald Green
#028F1E
ΔE00 1.82
Kelley Green
#009337
ΔE00 3.38
Irish Green
#019529
ΔE00 3.45
True Green
#089404
ΔE00 4.44
Green
#008000
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#198B27 #8B197D
analogous
#448B19 #198B27 #198B60
triadic
#198B27 #27198B #8B2719
tetradic
#198B27 #19448B #8B197D #8B6019
square
#198B27 #19448B #8B197D #8B6019
split-complementary
#198B27 #60198B #8B1944
monochromatic
#06230A #105718 #198B27 #22BF36 #41DD55
Accessibility & contrast
On white
4.41
#198B27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#198B27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #198B27
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##198B27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##198B27 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 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)
#8E7D18
Deuteranopia (green-blind)
#817531
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #198b27; /* rgb */ color: rgb(25, 139, 39); /* oklch */ color: oklch(55.6% 0.168 144.3);
Tailwind
colors: {
custom: {
50: '#6cae67',
500: '#198b27',
950: '#000000',
},
}SCSS
$custom: #198b27; $custom-light: #6cae67; $custom-dark: #000000;
JSON
{
"hex": "#198b27",
"rgb": {
"r": 25,
"g": 139,
"b": 39
},
"hsl": {
"h": 127.368,
"s": 69.512,
"l": 32.157
},
"oklch": {
"l": 0.55647,
"c": 0.16798,
"h": 144.3
},
"luminance": 0.18818
}Semantic roles & 50–950 ramp
primary
#198B27
secondary
#BE42AF
accent
#3BD7EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A