#198F1C#198F1C
#198F1C is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.179 H 143.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #198F1C |
|---|---|
| RGB | rgb(25, 143, 28) |
| HSL | hsl(122, 70%, 33%) |
| HSV | hsv(122, 83%, 56%) |
| CMYK | cmyk(82.5%, 0%, 80.4%, 43.9%) |
| CIE-LAB | lab(51.76, -52.68, 48.22) |
| CIE-LCH | lch(51.76, 71.42, 137.53°) |
| OKLab | oklab(56.7% -0.1429 0.1077) |
| OKLCH | oklch(56.7% 0.179 143) |
| XYZ | xyz(10.4323, 19.9342, 4.3962) |
| Luminance | 0.1993 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.82
Forestgreen (CSS)
#228B22
ΔE00 1.59
True Green
#089404
ΔE00 2.37
Irish Green
#019529
ΔE00 2.46
Kelley Green
#009337
ΔE00 3.75
Green
#008000
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#198F1C #8F198C
analogous
#518F19 #198F1C #198F57
triadic
#198F1C #1C198F #8F1C19
tetradic
#198F1C #19518F #8F198C #8F5719
square
#198F1C #19518F #8F198C #8F5719
split-complementary
#198F1C #57198F #8F1951
monochromatic
#072708 #105B12 #198F1C #22C326 #44DE48
Accessibility & contrast
On white
4.21
#198F1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#198F1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #198F1C
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##198F1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##198F1C | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #198f1c; /* rgb */ color: rgb(25, 143, 28); /* oklch */ color: oklch(56.7% 0.179 143.0);
Tailwind
colors: {
custom: {
50: '#6eb162',
500: '#198f1c',
950: '#000000',
},
}SCSS
$custom: #198f1c; $custom-light: #6eb162; $custom-dark: #000000;
JSON
{
"hex": "#198f1c",
"rgb": {
"r": 25,
"g": 143,
"b": 28
},
"hsl": {
"h": 121.525,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.56697,
"c": 0.17893,
"h": 143
},
"luminance": 0.19935
}Semantic roles & 50–950 ramp
primary
#198F1C
secondary
#BF44BC
accent
#3BE8ED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A