#177940#177940
#177940 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.124 H 152.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #177940 |
|---|---|
| RGB | rgb(23, 121, 64) |
| HSL | hsl(145, 68%, 28%) |
| HSV | hsv(145, 81%, 47%) |
| CMYK | cmyk(81%, 0%, 47.1%, 52.5%) |
| CIE-LAB | lab(44.56, -40.84, 23.65) |
| CIE-LCH | lch(44.56, 47.20, 149.93°) |
| OKLab | oklab(50.82% -0.1098 0.0581) |
| OKLCH | oklch(50.82% 0.124 152.1) |
| XYZ | xyz(8.1154, 14.2261, 7.1677) |
| Luminance | 0.1423 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.21
Jungle Green
#048243
ΔE00 3.22
Dark Sea Green
#11875D
ΔE00 6.95
Sea Green
#2E8B57
ΔE00 7.08
Tree Green
#2A7E19
ΔE00 8.07
Spruce
#0A5F38
ΔE00 9.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#177940 #791750
analogous
#1F7917 #177940 #177971
triadic
#177940 #401779 #794017
tetradic
#177940 #171F79 #791750 #797117
square
#177940 #171F79 #791750 #797117
split-complementary
#177940 #711779 #79171F
monochromatic
#051A0E #0D4625 #177940 #21AC5B #32D878
Accessibility & contrast
On white
5.46
#177940 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#177940 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #177940
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##177940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##177940 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796E3C
Deuteranopia (green-blind)
#6E6644
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #177940; /* rgb */ color: rgb(23, 121, 64); /* oklch */ color: oklch(50.8% 0.124 152.1);
Tailwind
colors: {
custom: {
50: '#66a175',
500: '#177940',
950: '#000000',
},
}SCSS
$custom: #177940; $custom-light: #66a175; $custom-dark: #000000;
JSON
{
"hex": "#177940",
"rgb": {
"r": 23,
"g": 121,
"b": 64
},
"hsl": {
"h": 145.102,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.50823,
"c": 0.12422,
"h": 152.1
},
"luminance": 0.14227
}Semantic roles & 50–950 ramp
primary
#177940
secondary
#AE3E7F
accent
#3DA2EB
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B