#176228#176228
#176228 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.7% C 0.116 H 147.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #176228 |
|---|---|
| RGB | rgb(23, 98, 40) |
| HSL | hsl(134, 62%, 24%) |
| HSV | hsv(134, 77%, 38%) |
| CMYK | cmyk(76.5%, 0%, 59.2%, 61.6%) |
| CIE-LAB | lab(36.12, -36.02, 26.34) |
| CIE-LCH | lch(36.12, 44.62, 143.82°) |
| OKLab | oklab(43.73% -0.097 0.0629) |
| OKLCH | oklch(43.73% 0.116 147.1) |
| XYZ | xyz(5.1037, 9.0702, 3.4888) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.12
Deep Green
#02590F
ΔE00 4.32
Pine
#2B5D34
ΔE00 4.50
Spruce
#0A5F38
ΔE00 5.04
Forest
#0B5509
ΔE00 5.49
Darkgreen
#006400
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#176228 #621751
analogous
#2B6217 #176228 #17624D
triadic
#176228 #281762 #622817
tetradic
#176228 #172B62 #621751 #624D17
square
#176228 #172B62 #621751 #624D17
split-complementary
#176228 #4D1762 #62172B
monochromatic
#06190A #0B3014 #176228 #23943C #2EC550
Accessibility & contrast
On white
7.46
#176228 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#176228 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #176228
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##176228 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##176228 | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635923
Deuteranopia (green-blind)
#5B532C
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #176228; /* rgb */ color: rgb(23, 98, 40); /* oklch */ color: oklch(43.7% 0.116 147.1);
Tailwind
colors: {
custom: {
50: '#618f64',
500: '#176228',
950: '#000000',
},
}SCSS
$custom: #176228; $custom-light: #618f64; $custom-dark: #000000;
JSON
{
"hex": "#176228",
"rgb": {
"r": 23,
"g": 98,
"b": 40
},
"hsl": {
"h": 133.6,
"s": 61.983,
"l": 23.725
},
"oklch": {
"l": 0.43727,
"c": 0.11562,
"h": 147.1
},
"luminance": 0.09071
}Semantic roles & 50–950 ramp
primary
#176228
secondary
#993C84
accent
#43C0E5
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A