#198F1F#198F1F
#198F1F is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.7% C 0.177 H 143.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #198F1F |
|---|---|
| RGB | rgb(25, 143, 31) |
| HSL | hsl(123, 70%, 33%) |
| HSV | hsv(123, 83%, 56%) |
| CMYK | cmyk(82.5%, 0%, 78.3%, 43.9%) |
| CIE-LAB | lab(51.78, -52.47, 47.23) |
| CIE-LCH | lch(51.78, 70.60, 138.01°) |
| OKLab | oklab(56.72% -0.1421 0.1061) |
| OKLCH | oklch(56.72% 0.177 143.3) |
| XYZ | xyz(10.4700, 19.9492, 4.5948) |
| Luminance | 0.1995 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.68
Forestgreen (CSS)
#228B22
ΔE00 1.48
Irish Green
#019529
ΔE00 2.31
True Green
#089404
ΔE00 2.59
Kelley Green
#009337
ΔE00 3.47
Green
#008000
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#198F1F #8F1989
analogous
#4E8F19 #198F1F #198F5A
triadic
#198F1F #1F198F #8F1F19
tetradic
#198F1F #194E8F #8F1989 #8F5A19
square
#198F1F #194E8F #8F1989 #8F5A19
split-complementary
#198F1F #5A198F #8F194E
monochromatic
#072708 #105B14 #198F1F #22C32A #44DE4C
Accessibility & contrast
On white
4.21
#198F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#198F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #198F1F
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##198F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##198F1F | 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)
#928104
Deuteranopia (green-blind)
#86782C
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #198f1f; /* rgb */ color: rgb(25, 143, 31); /* oklch */ color: oklch(56.7% 0.177 143.3);
Tailwind
colors: {
custom: {
50: '#6eb163',
500: '#198f1f',
950: '#000000',
},
}SCSS
$custom: #198f1f; $custom-light: #6eb163; $custom-dark: #000000;
JSON
{
"hex": "#198f1f",
"rgb": {
"r": 25,
"g": 143,
"b": 31
},
"hsl": {
"h": 123.051,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.56717,
"c": 0.17737,
"h": 143.3
},
"luminance": 0.19951
}Semantic roles & 50–950 ramp
primary
#198F1F
secondary
#BF44B9
accent
#3BE4ED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A