#198F1B#198F1B
#198F1B is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.179 H 142.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #198F1B |
|---|---|
| RGB | rgb(25, 143, 27) |
| HSL | hsl(121, 70%, 33%) |
| HSV | hsv(121, 83%, 56%) |
| CMYK | cmyk(82.5%, 0%, 81.1%, 43.9%) |
| CIE-LAB | lab(51.76, -52.75, 48.53) |
| CIE-LCH | lch(51.76, 71.68, 137.38°) |
| OKLab | oklab(56.69% -0.1431 0.1082) |
| OKLCH | oklch(56.69% 0.179 142.9) |
| XYZ | xyz(10.4205, 19.9295, 4.3343) |
| Luminance | 0.1993 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.88
Forestgreen (CSS)
#228B22
ΔE00 1.64
True Green
#089404
ΔE00 2.30
Irish Green
#019529
ΔE00 2.52
Kelley Green
#009337
ΔE00 3.84
Green
#008000
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#198F1B #8F198D
analogous
#528F19 #198F1B #198F56
triadic
#198F1B #1B198F #8F1B19
tetradic
#198F1B #19528F #8F198D #8F5619
square
#198F1B #19528F #8F198D #8F5619
split-complementary
#198F1B #56198F #8F1952
monochromatic
#072707 #105B11 #198F1B #22C325 #44DE47
Accessibility & contrast
On white
4.21
#198F1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#198F1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #198F1B
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##198F1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##198F1B | 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)
#867829
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #198f1b; /* rgb */ color: rgb(25, 143, 27); /* oklch */ color: oklch(56.7% 0.179 142.9);
Tailwind
colors: {
custom: {
50: '#6eb162',
500: '#198f1b',
950: '#000000',
},
}SCSS
$custom: #198f1b; $custom-light: #6eb162; $custom-dark: #000000;
JSON
{
"hex": "#198f1b",
"rgb": {
"r": 25,
"g": 143,
"b": 27
},
"hsl": {
"h": 121.017,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.56691,
"c": 0.17941,
"h": 142.9
},
"luminance": 0.19931
}Semantic roles & 50–950 ramp
primary
#198F1B
secondary
#BF44BD
accent
#3BEAED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A