#178E1F#178E1F
#178E1F is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.177 H 143.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #178E1F |
|---|---|
| RGB | rgb(23, 142, 31) |
| HSL | hsl(124, 72%, 32%) |
| HSV | hsv(124, 84%, 56%) |
| CMYK | cmyk(83.8%, 0%, 78.2%, 44.3%) |
| CIE-LAB | lab(51.41, -52.40, 46.86) |
| CIE-LCH | lch(51.41, 70.29, 138.19°) |
| OKLab | oklab(56.4% -0.1419 0.1053) |
| OKLCH | oklch(56.4% 0.177 143.4) |
| XYZ | xyz(10.2730, 19.6258, 4.5428) |
| Luminance | 0.1963 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.64
Forestgreen (CSS)
#228B22
ΔE00 1.17
Irish Green
#019529
ΔE00 2.57
True Green
#089404
ΔE00 2.89
Kelley Green
#009337
ΔE00 3.52
Green
#008000
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#178E1F #8E1786
analogous
#4A8E17 #178E1F #178E5B
triadic
#178E1F #1F178E #8E1F17
tetradic
#178E1F #174A8E #8E1786 #8E5B17
square
#178E1F #174A8E #8E1786 #8E5B17
split-complementary
#178E1F #5B178E #8E174A
monochromatic
#062508 #0E5914 #178E1F #20C32A #3FE04A
Accessibility & contrast
On white
4.26
#178E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#178E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #178E1F
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##178E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##178E1F | 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)
#918005
Deuteranopia (green-blind)
#85772C
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #178e1f; /* rgb */ color: rgb(23, 142, 31); /* oklch */ color: oklch(56.4% 0.177 143.4);
Tailwind
colors: {
custom: {
50: '#6db063',
500: '#178e1f',
950: '#000000',
},
}SCSS
$custom: #178e1f; $custom-light: #6db063; $custom-dark: #000000;
JSON
{
"hex": "#178e1f",
"rgb": {
"r": 23,
"g": 142,
"b": 31
},
"hsl": {
"h": 124.034,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.56402,
"c": 0.17668,
"h": 143.4
},
"luminance": 0.19627
}Semantic roles & 50–950 ramp
primary
#178E1F
secondary
#C040B8
accent
#39E3EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A