#198E1F#198E1F
#198E1F is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.4% C 0.176 H 143.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #198E1F |
|---|---|
| RGB | rgb(25, 142, 31) |
| HSL | hsl(123, 70%, 33%) |
| HSV | hsv(123, 82%, 56%) |
| CMYK | cmyk(82.4%, 0%, 78.2%, 44.3%) |
| CIE-LAB | lab(51.44, -52.15, 46.90) |
| CIE-LCH | lch(51.44, 70.14, 138.04°) |
| OKLab | oklab(56.43% -0.1413 0.1054) |
| OKLCH | oklch(56.43% 0.176 143.3) |
| XYZ | xyz(10.3205, 19.6503, 4.5450) |
| Luminance | 0.1965 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.71
Forestgreen (CSS)
#228B22
ΔE00 1.15
Irish Green
#019529
ΔE00 2.59
True Green
#089404
ΔE00 2.87
Kelley Green
#009337
ΔE00 3.56
Green
#008000
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#198E1F #8E1988
analogous
#4D8E19 #198E1F #198E59
triadic
#198E1F #1F198E #8E1F19
tetradic
#198E1F #194D8E #8E1988 #8E5919
square
#198E1F #194D8E #8E1988 #8E5919
split-complementary
#198E1F #59198E #8E194D
monochromatic
#072608 #105A14 #198E1F #22C22A #43DE4B
Accessibility & contrast
On white
4.26
#198E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#198E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #198E1F
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##198E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##198E1F | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918004
Deuteranopia (green-blind)
#85772C
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #198e1f; /* rgb */ color: rgb(25, 142, 31); /* oklch */ color: oklch(56.4% 0.176 143.3);
Tailwind
colors: {
custom: {
50: '#6eb063',
500: '#198e1f',
950: '#000000',
},
}SCSS
$custom: #198e1f; $custom-light: #6eb063; $custom-dark: #000000;
JSON
{
"hex": "#198e1f",
"rgb": {
"r": 25,
"g": 142,
"b": 31
},
"hsl": {
"h": 123.077,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.56433,
"c": 0.17625,
"h": 143.3
},
"luminance": 0.19652
}Semantic roles & 50–950 ramp
primary
#198E1F
secondary
#BF44B9
accent
#3BE4ED
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A