#177231#177231
#177231 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.129 H 148.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #177231 |
|---|---|
| RGB | rgb(23, 114, 49) |
| HSL | hsl(137, 66%, 27%) |
| HSV | hsv(137, 80%, 45%) |
| CMYK | cmyk(79.8%, 0%, 57%, 55.3%) |
| CIE-LAB | lab(41.90, -40.76, 28.50) |
| CIE-LCH | lch(41.90, 49.73, 145.04°) |
| OKLab | oklab(48.56% -0.1096 0.0683) |
| OKLCH | oklch(48.56% 0.129 148.1) |
| XYZ | xyz(6.9245, 12.4377, 4.9409) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.73
Jungle Green
#048243
ΔE00 5.81
Darkgreen
#006400
ΔE00 7.07
Tree Green
#2A7E19
ΔE00 7.07
Spruce
#0A5F38
ΔE00 8.22
Green
#008000
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#177231 #721758
analogous
#2B7217 #177231 #17725F
triadic
#177231 #311772 #723117
tetradic
#177231 #172B72 #721758 #725F17
square
#177231 #172B72 #721758 #725F17
split-complementary
#177231 #5F1772 #72172B
monochromatic
#05190B #0D3F1B #177231 #21A547 #2ED55E
Accessibility & contrast
On white
6.02
#177231 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#177231 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #177231
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##177231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##177231 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73672B
Deuteranopia (green-blind)
#696036
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #177231; /* rgb */ color: rgb(23, 114, 49); /* oklch */ color: oklch(48.6% 0.129 148.1);
Tailwind
colors: {
custom: {
50: '#659b6b',
500: '#177231',
950: '#000000',
},
}SCSS
$custom: #177231; $custom-light: #659b6b; $custom-dark: #000000;
JSON
{
"hex": "#177231",
"rgb": {
"r": 23,
"g": 114,
"b": 49
},
"hsl": {
"h": 137.143,
"s": 66.423,
"l": 26.863
},
"oklch": {
"l": 0.48556,
"c": 0.12911,
"h": 148.1
},
"luminance": 0.12439
}Semantic roles & 50–950 ramp
primary
#177231
secondary
#A83D89
accent
#3EB9E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A