#166724#166724
#166724 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.1% C 0.126 H 145.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #166724 |
|---|---|
| RGB | rgb(22, 103, 36) |
| HSL | hsl(130, 65%, 25%) |
| HSV | hsv(130, 79%, 40%) |
| CMYK | cmyk(78.6%, 0%, 65%, 59.6%) |
| CIE-LAB | lab(37.84, -38.68, 30.41) |
| CIE-LCH | lch(37.84, 49.20, 141.82°) |
| OKLab | oklab(45.13% -0.1043 0.0714) |
| OKLCH | oklch(45.13% 0.126 145.6) |
| XYZ | xyz(5.4992, 9.9978, 3.3087) |
| Luminance | 0.1000 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.34
Deep Green
#02590F
ΔE00 4.82
Forest Green
#2D5A27
ΔE00 5.64
Forest
#0B5509
ΔE00 6.12
Pine
#2B5D34
ΔE00 6.40
Spruce
#0A5F38
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166724 #671659
analogous
#316716 #166724 #16674D
triadic
#166724 #241667 #672416
tetradic
#166724 #163167 #671659 #674D16
square
#166724 #163167 #671659 #674D16
split-complementary
#166724 #4D1667 #671631
monochromatic
#051909 #0B3512 #166724 #219936 #2CCC47
Accessibility & contrast
On white
7.00
#166724 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#166724 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166724
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166724 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166724 | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D1D
Deuteranopia (green-blind)
#5F572A
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #166724; /* rgb */ color: rgb(22, 103, 36); /* oklch */ color: oklch(45.1% 0.126 145.6);
Tailwind
colors: {
custom: {
50: '#629361',
500: '#166724',
950: '#000000',
},
}SCSS
$custom: #166724; $custom-light: #629361; $custom-dark: #000000;
JSON
{
"hex": "#166724",
"rgb": {
"r": 22,
"g": 103,
"b": 36
},
"hsl": {
"h": 130.37,
"s": 64.8,
"l": 24.51
},
"oklch": {
"l": 0.4513,
"c": 0.12639,
"h": 145.6
},
"luminance": 0.09998
}Semantic roles & 50–950 ramp
primary
#166724
secondary
#9E3B8D
accent
#40CBE8
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79