#176227#176227
#176227 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.7% C 0.117 H 146.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #176227 |
|---|---|
| RGB | rgb(23, 98, 39) |
| HSL | hsl(133, 62%, 24%) |
| HSV | hsv(133, 77%, 38%) |
| CMYK | cmyk(76.5%, 0%, 60.2%, 61.6%) |
| CIE-LAB | lab(36.11, -36.17, 26.86) |
| CIE-LCH | lch(36.11, 45.05, 143.41°) |
| OKLab | oklab(43.71% -0.0975 0.0639) |
| OKLCH | oklch(43.71% 0.117 146.7) |
| XYZ | xyz(5.0869, 9.0634, 3.4004) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.13
Deep Green
#02590F
ΔE00 4.17
Pine
#2B5D34
ΔE00 4.65
Spruce
#0A5F38
ΔE00 5.26
Forest
#0B5509
ΔE00 5.35
Darkgreen
#006400
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#176227 #621752
analogous
#2C6217 #176227 #17624C
triadic
#176227 #271762 #622717
tetradic
#176227 #172C62 #621752 #624C17
square
#176227 #172C62 #621752 #624C17
split-complementary
#176227 #4C1762 #62172C
monochromatic
#06190A #0B3013 #176227 #23943B #2EC54E
Accessibility & contrast
On white
7.47
#176227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#176227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #176227
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##176227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##176227 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635921
Deuteranopia (green-blind)
#5B532C
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #176227; /* rgb */ color: rgb(23, 98, 39); /* oklch */ color: oklch(43.7% 0.117 146.7);
Tailwind
colors: {
custom: {
50: '#618f63',
500: '#176227',
950: '#000000',
},
}SCSS
$custom: #176227; $custom-light: #618f63; $custom-dark: #000000;
JSON
{
"hex": "#176227",
"rgb": {
"r": 23,
"g": 98,
"b": 39
},
"hsl": {
"h": 132.8,
"s": 61.983,
"l": 23.725
},
"oklch": {
"l": 0.43713,
"c": 0.11656,
"h": 146.7
},
"luminance": 0.09064
}Semantic roles & 50–950 ramp
primary
#176227
secondary
#993C85
accent
#43C2E5
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79