#175127#175127
#175127 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.092 H 149.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #175127 |
|---|---|
| RGB | rgb(23, 81, 39) |
| HSL | hsl(137, 56%, 20%) |
| HSV | hsv(137, 72%, 32%) |
| CMYK | cmyk(71.6%, 0%, 51.9%, 68.2%) |
| CIE-LAB | lab(29.94, -29.16, 19.31) |
| CIE-LCH | lch(29.94, 34.98, 146.49°) |
| OKLab | oklab(38.62% -0.0787 0.0471) |
| OKLCH | oklch(38.62% 0.092 149.1) |
| XYZ | xyz(3.6617, 6.2131, 2.9253) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 2.89
Pine
#2B5D34
ΔE00 4.30
Forest Green
#2D5A27
ΔE00 4.54
Evergreen
#05472A
ΔE00 4.91
British Racing Green
#05480D
ΔE00 5.06
Spruce
#0A5F38
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175127 #511741
analogous
#245117 #175127 #175144
triadic
#175127 #271751 #512717
tetradic
#175127 #172451 #511741 #514417
square
#175127 #172451 #511741 #514417
split-complementary
#175127 #441751 #511724
monochromatic
#07180B #092110 #175127 #25813E #32B055
Accessibility & contrast
On white
9.36
#175127 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#175127 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175127
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175127 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175127 | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524A24
Deuteranopia (green-blind)
#4A452A
Tritanopia (blue-blind)
#034F47
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #175127; /* rgb */ color: rgb(23, 81, 39); /* oklch */ color: oklch(38.6% 0.092 149.1);
Tailwind
colors: {
custom: {
50: '#5c8262',
500: '#175127',
950: '#000000',
},
}SCSS
$custom: #175127; $custom-light: #5c8262; $custom-dark: #000000;
JSON
{
"hex": "#175127",
"rgb": {
"r": 23,
"g": 81,
"b": 39
},
"hsl": {
"h": 136.552,
"s": 55.769,
"l": 20.392
},
"oklch": {
"l": 0.3862,
"c": 0.0917,
"h": 149.1
},
"luminance": 0.06214
}Semantic roles & 50–950 ramp
primary
#175127
secondary
#883C73
accent
#49B6DF
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79