#198C1F#198C1F
#198C1F is a mid, vivid green. Relative luminance 0.191; OKLCH L 55.9% C 0.174 H 143.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #198C1F |
|---|---|
| RGB | rgb(25, 140, 31) |
| HSL | hsl(123, 70%, 32%) |
| HSV | hsv(123, 82%, 55%) |
| CMYK | cmyk(82.1%, 0%, 77.9%, 45.1%) |
| CIE-LAB | lab(50.76, -51.51, 46.23) |
| CIE-LCH | lch(50.76, 69.21, 138.09°) |
| OKLab | oklab(55.87% -0.1395 0.104) |
| OKLCH | oklch(55.87% 0.174 143.3) |
| XYZ | xyz(10.0257, 19.0606, 4.4467) |
| Luminance | 0.1906 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.60
Emerald Green
#028F1E
ΔE00 1.17
Irish Green
#019529
ΔE00 3.21
True Green
#089404
ΔE00 3.48
Kelley Green
#009337
ΔE00 3.84
Green
#008000
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#198C1F #8C1986
analogous
#4D8C19 #198C1F #198C58
triadic
#198C1F #1F198C #8C1F19
tetradic
#198C1F #194D8C #8C1986 #8C5819
square
#198C1F #194D8C #8C1986 #8C5819
split-complementary
#198C1F #58198C #8C194D
monochromatic
#062408 #105814 #198C1F #22C02A #42DD4A
Accessibility & contrast
On white
4.36
#198C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#198C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #198C1F
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##198C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##198C1F | 1.00 | 4.36 | 4.81 | 4.81 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #198c1f; /* rgb */ color: rgb(25, 140, 31); /* oklch */ color: oklch(55.9% 0.174 143.3);
Tailwind
colors: {
custom: {
50: '#6daf63',
500: '#198c1f',
950: '#000000',
},
}SCSS
$custom: #198c1f; $custom-light: #6daf63; $custom-dark: #000000;
JSON
{
"hex": "#198c1f",
"rgb": {
"r": 25,
"g": 140,
"b": 31
},
"hsl": {
"h": 123.13,
"s": 69.697,
"l": 32.353
},
"oklch": {
"l": 0.55866,
"c": 0.17401,
"h": 143.3
},
"luminance": 0.19062
}Semantic roles & 50–950 ramp
primary
#198C1F
secondary
#BE43B8
accent
#3BE3ED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A