#177F2C#177F2C
#177F2C is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.150 H 145.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #177F2C |
|---|---|
| RGB | rgb(23, 127, 44) |
| HSL | hsl(132, 69%, 29%) |
| HSV | hsv(132, 82%, 50%) |
| CMYK | cmyk(81.9%, 0%, 65.4%, 50.2%) |
| CIE-LAB | lab(46.37, -46.14, 36.20) |
| CIE-LCH | lch(46.37, 58.64, 141.88°) |
| OKLab | oklab(52.24% -0.1243 0.0845) |
| OKLCH | oklch(52.24% 0.15 145.8) |
| XYZ | xyz(8.3967, 15.5417, 4.9397) |
| Luminance | 0.1554 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.49
Tree Green
#2A7E19
ΔE00 3.38
Green
#008000
ΔE00 4.40
Jungle Green
#048243
ΔE00 4.41
Forestgreen (CSS)
#228B22
ΔE00 5.12
Dark Grass Green
#388004
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#177F2C #7F176A
analogous
#367F17 #177F2C #177F60
triadic
#177F2C #2C177F #7F2C17
tetradic
#177F2C #17367F #7F176A #7F6017
square
#177F2C #17367F #7F176A #7F6017
split-complementary
#177F2C #60177F #7F1736
monochromatic
#051A09 #0E4B1A #177F2C #20B33E #36DB57
Accessibility & contrast
On white
5.11
#177F2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#177F2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #177F2C
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##177F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##177F2C | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817322
Deuteranopia (green-blind)
#766B33
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #177f2c; /* rgb */ color: rgb(23, 127, 44); /* oklch */ color: oklch(52.2% 0.150 145.8);
Tailwind
colors: {
custom: {
50: '#68a569',
500: '#177f2c',
950: '#000000',
},
}SCSS
$custom: #177f2c; $custom-light: #68a569; $custom-dark: #000000;
JSON
{
"hex": "#177f2c",
"rgb": {
"r": 23,
"g": 127,
"b": 44
},
"hsl": {
"h": 132.115,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.52241,
"c": 0.15032,
"h": 145.8
},
"luminance": 0.15543
}Semantic roles & 50–950 ramp
primary
#177F2C
secondary
#B43E9C
accent
#3CC9EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A