#198B1C#198B1C
#198B1C is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.174 H 143.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #198B1C |
|---|---|
| RGB | rgb(25, 139, 28) |
| HSL | hsl(122, 70%, 32%) |
| HSV | hsv(122, 82%, 55%) |
| CMYK | cmyk(82%, 0%, 79.9%, 45.5%) |
| CIE-LAB | lab(50.40, -51.41, 46.91) |
| CIE-LCH | lch(50.40, 69.59, 137.62°) |
| OKLab | oklab(55.56% -0.1394 0.105) |
| OKLCH | oklch(55.56% 0.175 143) |
| XYZ | xyz(9.8425, 18.7546, 4.1996) |
| Luminance | 0.1876 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.68
Emerald Green
#028F1E
ΔE00 1.49
Irish Green
#019529
ΔE00 3.62
True Green
#089404
ΔE00 3.62
Green
#008000
ΔE00 4.25
Kelley Green
#009337
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#198B1C #8B1988
analogous
#4F8B19 #198B1C #198B55
triadic
#198B1C #1C198B #8B1C19
tetradic
#198B1C #194F8B #8B1988 #8B5519
square
#198B1C #194F8B #8B1988 #8B5519
split-complementary
#198B1C #55198B #8B194F
monochromatic
#062307 #105712 #198B1C #22BF26 #41DD46
Accessibility & contrast
On white
4.42
#198B1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#198B1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #198B1C
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##198B1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##198B1C | 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)
#827529
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #198b1c; /* rgb */ color: rgb(25, 139, 28); /* oklch */ color: oklch(55.6% 0.174 143.0);
Tailwind
colors: {
custom: {
50: '#6dae61',
500: '#198b1c',
950: '#000000',
},
}SCSS
$custom: #198b1c; $custom-light: #6dae61; $custom-dark: #000000;
JSON
{
"hex": "#198b1c",
"rgb": {
"r": 25,
"g": 139,
"b": 28
},
"hsl": {
"h": 121.579,
"s": 69.512,
"l": 32.157
},
"oklch": {
"l": 0.55562,
"c": 0.1745,
"h": 143
},
"luminance": 0.18756
}Semantic roles & 50–950 ramp
primary
#198B1C
secondary
#BE42BA
accent
#3BE8EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A