#177F1C#177F1C
#177F1C is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.161 H 143.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #177F1C |
|---|---|
| RGB | rgb(23, 127, 28) |
| HSL | hsl(123, 69%, 29%) |
| HSV | hsv(123, 82%, 50%) |
| CMYK | cmyk(81.9%, 0%, 78%, 50.2%) |
| CIE-LAB | lab(46.24, -47.76, 42.82) |
| CIE-LCH | lch(46.24, 64.14, 138.12°) |
| OKLab | oklab(52.09% -0.1294 0.0965) |
| OKLCH | oklch(52.09% 0.161 143.3) |
| XYZ | xyz(8.1518, 15.4438, 3.6497) |
| Luminance | 0.1545 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.57
Green
#008000
ΔE00 2.17
Dark Grass Green
#388004
ΔE00 4.26
Forestgreen (CSS)
#228B22
ΔE00 4.38
Darkish Green
#287C37
ΔE00 4.49
Emerald Green
#028F1E
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#177F1C #7F177A
analogous
#467F17 #177F1C #177F50
triadic
#177F1C #1C177F #7F1C17
tetradic
#177F1C #17467F #7F177A #7F5017
square
#177F1C #17467F #7F177A #7F5017
split-complementary
#177F1C #50177F #7F1746
monochromatic
#051A06 #0E4B11 #177F1C #20B327 #36DB3E
Accessibility & contrast
On white
5.14
#177F1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#177F1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #177F1C
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##177F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##177F1C | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827206
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #177f1c; /* rgb */ color: rgb(23, 127, 28); /* oklch */ color: oklch(52.1% 0.161 143.3);
Tailwind
colors: {
custom: {
50: '#69a560',
500: '#177f1c',
950: '#000000',
},
}SCSS
$custom: #177f1c; $custom-light: #69a560; $custom-dark: #000000;
JSON
{
"hex": "#177f1c",
"rgb": {
"r": 23,
"g": 127,
"b": 28
},
"hsl": {
"h": 122.885,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.52089,
"c": 0.1614,
"h": 143.3
},
"luminance": 0.15445
}Semantic roles & 50–950 ramp
primary
#177F1C
secondary
#B43EAE
accent
#3CE4EC
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79