#198D1F#198D1F
#198D1F is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.1% C 0.175 H 143.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #198D1F |
|---|---|
| RGB | rgb(25, 141, 31) |
| HSL | hsl(123, 70%, 33%) |
| HSV | hsv(123, 82%, 55%) |
| CMYK | cmyk(82.3%, 0%, 78%, 44.7%) |
| CIE-LAB | lab(51.10, -51.83, 46.56) |
| CIE-LCH | lch(51.10, 69.67, 138.06°) |
| OKLab | oklab(56.15% -0.1404 0.1047) |
| OKLCH | oklch(56.15% 0.175 143.3) |
| XYZ | xyz(10.1724, 19.3541, 4.4957) |
| Luminance | 0.1935 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.85
Emerald Green
#028F1E
ΔE00 0.90
Irish Green
#019529
ΔE00 2.89
True Green
#089404
ΔE00 3.17
Kelley Green
#009337
ΔE00 3.68
Green
#008000
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#198D1F #8D1987
analogous
#4D8D19 #198D1F #198D59
triadic
#198D1F #1F198D #8D1F19
tetradic
#198D1F #194D8D #8D1987 #8D5919
square
#198D1F #194D8D #8D1987 #8D5919
split-complementary
#198D1F #59198D #8D194D
monochromatic
#072508 #105914 #198D1F #22C12A #43DE4B
Accessibility & contrast
On white
4.31
#198D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#198D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #198D1F
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##198D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##198D1F | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#84762B
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #198d1f; /* rgb */ color: rgb(25, 141, 31); /* oklch */ color: oklch(56.1% 0.175 143.3);
Tailwind
colors: {
custom: {
50: '#6daf63',
500: '#198d1f',
950: '#000000',
},
}SCSS
$custom: #198d1f; $custom-light: #6daf63; $custom-dark: #000000;
JSON
{
"hex": "#198d1f",
"rgb": {
"r": 25,
"g": 141,
"b": 31
},
"hsl": {
"h": 123.103,
"s": 69.88,
"l": 32.549
},
"oklch": {
"l": 0.5615,
"c": 0.17514,
"h": 143.3
},
"luminance": 0.19355
}Semantic roles & 50–950 ramp
primary
#198D1F
secondary
#BF43B8
accent
#3BE3ED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A