#198F27#198F27
#198F27 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.173 H 144.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #198F27 |
|---|---|
| RGB | rgb(25, 143, 39) |
| HSL | hsl(127, 70%, 33%) |
| HSV | hsv(127, 83%, 56%) |
| CMYK | cmyk(82.5%, 0%, 72.7%, 43.9%) |
| CIE-LAB | lab(51.83, -51.80, 44.30) |
| CIE-LCH | lch(51.83, 68.16, 139.46°) |
| OKLab | oklab(56.78% -0.14 0.101) |
| OKLCH | oklch(56.78% 0.173 144.2) |
| XYZ | xyz(10.5888, 19.9968, 5.2208) |
| Luminance | 0.2000 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.02
Forestgreen (CSS)
#228B22
ΔE00 1.52
Irish Green
#019529
ΔE00 2.08
Kelley Green
#009337
ΔE00 2.64
True Green
#089404
ΔE00 3.35
Green
#008000
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#198F27 #8F1981
analogous
#468F19 #198F27 #198F62
triadic
#198F27 #27198F #8F2719
tetradic
#198F27 #19468F #8F1981 #8F6219
square
#198F27 #19468F #8F1981 #8F6219
split-complementary
#198F27 #62198F #8F1946
monochromatic
#07270B #105B19 #198F27 #22C335 #44DE56
Accessibility & contrast
On white
4.20
#198F27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#198F27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #198F27
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##198F27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##198F27 | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #198f27; /* rgb */ color: rgb(25, 143, 39); /* oklch */ color: oklch(56.8% 0.173 144.2);
Tailwind
colors: {
custom: {
50: '#6db167',
500: '#198f27',
950: '#000000',
},
}SCSS
$custom: #198f27; $custom-light: #6db167; $custom-dark: #000000;
JSON
{
"hex": "#198f27",
"rgb": {
"r": 25,
"g": 143,
"b": 39
},
"hsl": {
"h": 127.119,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.56778,
"c": 0.17262,
"h": 144.2
},
"luminance": 0.19998
}Semantic roles & 50–950 ramp
primary
#198F27
secondary
#BF44B1
accent
#3BD8ED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A