#177831#177831
#177831 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.137 H 147.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #177831 |
|---|---|
| RGB | rgb(23, 120, 49) |
| HSL | hsl(136, 68%, 28%) |
| HSV | hsv(136, 81%, 47%) |
| CMYK | cmyk(80.8%, 0%, 59.2%, 52.9%) |
| CIE-LAB | lab(44.00, -42.98, 31.00) |
| CIE-LCH | lch(44.00, 52.99, 144.19°) |
| OKLab | oklab(50.29% -0.1156 0.0738) |
| OKLCH | oklch(50.29% 0.137 147.4) |
| XYZ | xyz(7.6236, 13.8359, 5.1740) |
| Luminance | 0.1384 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.92
Jungle Green
#048243
ΔE00 4.34
Tree Green
#2A7E19
ΔE00 5.40
Green
#008000
ΔE00 6.62
Forestgreen (CSS)
#228B22
ΔE00 8.06
Darkgreen
#006400
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#177831 #78175E
analogous
#2E7817 #177831 #177861
triadic
#177831 #311778 #783117
tetradic
#177831 #172E78 #78175E #786117
square
#177831 #172E78 #78175E #786117
split-complementary
#177831 #611778 #78172E
monochromatic
#051A0A #0D451C #177831 #21AB46 #32D85E
Accessibility & contrast
On white
5.57
#177831 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#177831 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #177831
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##177831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##177831 | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796D2A
Deuteranopia (green-blind)
#6F6537
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #177831; /* rgb */ color: rgb(23, 120, 49); /* oklch */ color: oklch(50.3% 0.137 147.4);
Tailwind
colors: {
custom: {
50: '#66a06b',
500: '#177831',
950: '#000000',
},
}SCSS
$custom: #177831; $custom-light: #66a06b; $custom-dark: #000000;
JSON
{
"hex": "#177831",
"rgb": {
"r": 23,
"g": 120,
"b": 49
},
"hsl": {
"h": 136.082,
"s": 67.832,
"l": 28.039
},
"oklch": {
"l": 0.50291,
"c": 0.1371,
"h": 147.4
},
"luminance": 0.13837
}Semantic roles & 50–950 ramp
primary
#177831
secondary
#AD3E8F
accent
#3DBCEB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F07
muted
#7A7E7A