#198B18#198B18
#198B18 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.5% C 0.176 H 142.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #198B18 |
|---|---|
| RGB | rgb(25, 139, 24) |
| HSL | hsl(119, 71%, 32%) |
| HSV | hsv(119, 83%, 55%) |
| CMYK | cmyk(82%, 0%, 82.7%, 45.5%) |
| CIE-LAB | lab(50.38, -51.67, 48.16) |
| CIE-LCH | lch(50.38, 70.63, 137.01°) |
| OKLab | oklab(55.54% -0.1403 0.107) |
| OKLCH | oklch(55.54% 0.176 142.7) |
| XYZ | xyz(9.7978, 18.7367, 3.9641) |
| Luminance | 0.1874 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.99
Emerald Green
#028F1E
ΔE00 1.60
True Green
#089404
ΔE00 3.43
Irish Green
#019529
ΔE00 3.75
Green
#008000
ΔE00 4.15
Kelley Green
#009337
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#198B18 #8A188B
analogous
#538B18 #198B18 #188B51
triadic
#198B18 #18198B #8B1819
tetradic
#198B18 #18538B #8A188B #8B5118
square
#198B18 #18538B #8A188B #8B5118
split-complementary
#198B18 #51188B #8B1853
monochromatic
#062306 #10570F #198B18 #22BF21 #41DE3F
Accessibility & contrast
On white
4.42
#198B18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#198B18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #198B18
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##198B18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##198B18 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #198b18; /* rgb */ color: rgb(25, 139, 24); /* oklch */ color: oklch(55.5% 0.176 142.7);
Tailwind
colors: {
custom: {
50: '#6dae60',
500: '#198b18',
950: '#000000',
},
}SCSS
$custom: #198b18; $custom-light: #6dae60; $custom-dark: #000000;
JSON
{
"hex": "#198b18",
"rgb": {
"r": 25,
"g": 139,
"b": 24
},
"hsl": {
"h": 119.478,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.55537,
"c": 0.17644,
"h": 142.7
},
"luminance": 0.18738
}Semantic roles & 50–950 ramp
primary
#198B18
secondary
#BD40BE
accent
#3AEDEC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79