#175227#175227
#175227 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.093 H 148.9°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #175227 |
|---|---|
| RGB | rgb(23, 82, 39) |
| HSL | hsl(136, 56%, 21%) |
| HSV | hsv(136, 72%, 32%) |
| CMYK | cmyk(72%, 0%, 52.4%, 67.8%) |
| CIE-LAB | lab(30.31, -29.60, 19.77) |
| CIE-LCH | lch(30.31, 35.60, 146.25°) |
| OKLab | oklab(38.92% -0.0798 0.0482) |
| OKLCH | oklch(38.92% 0.093 148.9) |
| XYZ | xyz(3.7366, 6.3628, 2.9503) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.16
Pine
#2B5D34
ΔE00 4.08
Forest Green
#2D5A27
ΔE00 4.27
Spruce
#0A5F38
ΔE00 4.95
British Racing Green
#05480D
ΔE00 5.07
Evergreen
#05472A
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#175227 #521742
analogous
#245217 #175227 #175244
triadic
#175227 #271752 #522717
tetradic
#175227 #172452 #521742 #524417
square
#175227 #172452 #521742 #524417
split-complementary
#175227 #441752 #521724
monochromatic
#07180B #0A2210 #175227 #24823E #32B254
Accessibility & contrast
On white
9.24
#175227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#175227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #175227
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##175227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##175227 | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534A24
Deuteranopia (green-blind)
#4B452A
Tritanopia (blue-blind)
#025048
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #175227; /* rgb */ color: rgb(23, 82, 39); /* oklch */ color: oklch(38.9% 0.093 148.9);
Tailwind
colors: {
custom: {
50: '#5d8362',
500: '#175227',
950: '#000000',
},
}SCSS
$custom: #175227; $custom-light: #5d8362; $custom-dark: #000000;
JSON
{
"hex": "#175227",
"rgb": {
"r": 23,
"g": 82,
"b": 39
},
"hsl": {
"h": 136.271,
"s": 56.19,
"l": 20.588
},
"oklch": {
"l": 0.38922,
"c": 0.09323,
"h": 148.9
},
"luminance": 0.06363
}Semantic roles & 50–950 ramp
primary
#175227
secondary
#893C74
accent
#48B6DF
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79