#166924#166924
#166924 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.7% C 0.129 H 145.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #166924 |
|---|---|
| RGB | rgb(22, 105, 36) |
| HSL | hsl(130, 65%, 25%) |
| HSV | hsv(130, 79%, 41%) |
| CMYK | cmyk(79%, 0%, 65.7%, 58.8%) |
| CIE-LAB | lab(38.55, -39.42, 31.22) |
| CIE-LCH | lch(38.55, 50.29, 141.62°) |
| OKLab | oklab(45.72% -0.1063 0.0731) |
| OKLCH | oklch(45.72% 0.129 145.5) |
| XYZ | xyz(5.7005, 10.4004, 3.3758) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.30
Deep Green
#02590F
ΔE00 5.35
Forest Green
#2D5A27
ΔE00 6.24
Darkish Green
#287C37
ΔE00 6.65
Forest
#0B5509
ΔE00 6.66
Pine
#2B5D34
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166924 #69165B
analogous
#326916 #166924 #16694D
triadic
#166924 #241669 #692416
tetradic
#166924 #163269 #69165B #694D16
square
#166924 #163269 #69165B #694D16
split-complementary
#166924 #4D1669 #691632
monochromatic
#051909 #0B3613 #166924 #219C35 #2BCE47
Accessibility & contrast
On white
6.82
#166924 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#166924 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166924
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166924 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166924 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5F1C
Deuteranopia (green-blind)
#61582A
Tritanopia (blue-blind)
#00665A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #166924; /* rgb */ color: rgb(22, 105, 36); /* oklch */ color: oklch(45.7% 0.129 145.5);
Tailwind
colors: {
custom: {
50: '#629562',
500: '#166924',
950: '#000000',
},
}SCSS
$custom: #166924; $custom-light: #629562; $custom-dark: #000000;
JSON
{
"hex": "#166924",
"rgb": {
"r": 22,
"g": 105,
"b": 36
},
"hsl": {
"h": 130.12,
"s": 65.354,
"l": 24.902
},
"oklch": {
"l": 0.45722,
"c": 0.12903,
"h": 145.5
},
"luminance": 0.10401
}Semantic roles & 50–950 ramp
primary
#166924
secondary
#9F3B8F
accent
#3FCCE8
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79