#178F1B#178F1B
#178F1B is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.180 H 143.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #178F1B |
|---|---|
| RGB | rgb(23, 143, 27) |
| HSL | hsl(122, 72%, 33%) |
| HSV | hsv(122, 84%, 56%) |
| CMYK | cmyk(83.9%, 0%, 81.1%, 43.9%) |
| CIE-LAB | lab(51.73, -53.00, 48.50) |
| CIE-LCH | lch(51.73, 71.84, 137.54°) |
| OKLab | oklab(56.66% -0.1437 0.1082) |
| OKLCH | oklch(56.66% 0.18 143) |
| XYZ | xyz(10.3730, 19.9049, 4.3320) |
| Luminance | 0.1991 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.80
Forestgreen (CSS)
#228B22
ΔE00 1.64
True Green
#089404
ΔE00 2.32
Irish Green
#019529
ΔE00 2.49
Kelley Green
#009337
ΔE00 3.80
Green
#008000
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#178F1B #8F178B
analogous
#4F8F17 #178F1B #178F57
triadic
#178F1B #1B178F #8F1B17
tetradic
#178F1B #174F8F #8F178B #8F5717
square
#178F1B #174F8F #8F178B #8F5717
split-complementary
#178F1B #57178F #8F174F
monochromatic
#062607 #0F5A11 #178F1B #1FC425 #40E045
Accessibility & contrast
On white
4.22
#178F1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#178F1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #178F1B
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##178F1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##178F1B | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 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: #178f1b; /* rgb */ color: rgb(23, 143, 27); /* oklch */ color: oklch(56.7% 0.180 143.0);
Tailwind
colors: {
custom: {
50: '#6eb162',
500: '#178f1b',
950: '#000000',
},
}SCSS
$custom: #178f1b; $custom-light: #6eb162; $custom-dark: #000000;
JSON
{
"hex": "#178f1b",
"rgb": {
"r": 23,
"g": 143,
"b": 27
},
"hsl": {
"h": 122,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.5666,
"c": 0.17985,
"h": 143
},
"luminance": 0.19906
}Semantic roles & 50–950 ramp
primary
#178F1B
secondary
#C141BC
accent
#39E9EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A