#188E1F#188E1F
#188E1F is a mid, vivid green. Relative luminance 0.196; 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 | #188E1F |
|---|---|
| RGB | rgb(24, 142, 31) |
| HSL | hsl(124, 71%, 33%) |
| HSV | hsv(124, 83%, 56%) |
| CMYK | cmyk(83.1%, 0%, 78.2%, 44.3%) |
| CIE-LAB | lab(51.43, -52.27, 46.88) |
| CIE-LCH | lch(51.43, 70.22, 138.12°) |
| OKLab | oklab(56.42% -0.1416 0.1054) |
| OKLCH | oklch(56.42% 0.176 143.3) |
| XYZ | xyz(10.2963, 19.6379, 4.5439) |
| Luminance | 0.1964 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.67
Forestgreen (CSS)
#228B22
ΔE00 1.16
Irish Green
#019529
ΔE00 2.58
True Green
#089404
ΔE00 2.88
Kelley Green
#009337
ΔE00 3.54
Green
#008000
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#188E1F #8E1887
analogous
#4C8E18 #188E1F #188E5A
triadic
#188E1F #1F188E #8E1F18
tetradic
#188E1F #184C8E #8E1887 #8E5A18
square
#188E1F #184C8E #8E1887 #8E5A18
split-complementary
#188E1F #5A188E #8E184C
monochromatic
#062508 #0F5A14 #188E1F #21C22A #41DF4B
Accessibility & contrast
On white
4.26
#188E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#188E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #188E1F
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##188E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##188E1F | 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: #188e1f; /* rgb */ color: rgb(24, 142, 31); /* oklch */ color: oklch(56.4% 0.176 143.3);
Tailwind
colors: {
custom: {
50: '#6db063',
500: '#188e1f',
950: '#000000',
},
}SCSS
$custom: #188e1f; $custom-light: #6db063; $custom-dark: #000000;
JSON
{
"hex": "#188e1f",
"rgb": {
"r": 24,
"g": 142,
"b": 31
},
"hsl": {
"h": 123.559,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.56417,
"c": 0.17648,
"h": 143.3
},
"luminance": 0.19639
}Semantic roles & 50–950 ramp
primary
#188E1F
secondary
#C042B8
accent
#3AE3EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A