#166923#166923
#166923 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.7% C 0.130 H 145.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #166923 |
|---|---|
| RGB | rgb(22, 105, 35) |
| HSL | hsl(129, 65%, 25%) |
| HSV | hsv(129, 79%, 41%) |
| CMYK | cmyk(79%, 0%, 66.7%, 58.8%) |
| CIE-LAB | lab(38.54, -39.55, 31.70) |
| CIE-LCH | lch(38.54, 50.69, 141.28°) |
| OKLab | oklab(45.71% -0.1067 0.074) |
| OKLCH | oklch(45.71% 0.13 145.3) |
| XYZ | xyz(5.6854, 10.3944, 3.2965) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.13
Deep Green
#02590F
ΔE00 5.31
Forest Green
#2D5A27
ΔE00 6.29
Forest
#0B5509
ΔE00 6.61
Darkish Green
#287C37
ΔE00 6.67
Pine
#2B5D34
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166923 #69165C
analogous
#326916 #166923 #16694D
triadic
#166923 #231669 #692316
tetradic
#166923 #163269 #69165C #694D16
square
#166923 #163269 #69165C #694D16
split-complementary
#166923 #4D1669 #691632
monochromatic
#051908 #0B3612 #166923 #219C34 #2BCE45
Accessibility & contrast
On white
6.82
#166923 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#166923 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166923
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166923 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166923 | 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)
#6B5F1B
Deuteranopia (green-blind)
#615829
Tritanopia (blue-blind)
#00665A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #166923; /* rgb */ color: rgb(22, 105, 35); /* oklch */ color: oklch(45.7% 0.130 145.3);
Tailwind
colors: {
custom: {
50: '#639561',
500: '#166923',
950: '#000000',
},
}SCSS
$custom: #166923; $custom-light: #639561; $custom-dark: #000000;
JSON
{
"hex": "#166923",
"rgb": {
"r": 22,
"g": 105,
"b": 35
},
"hsl": {
"h": 129.398,
"s": 65.354,
"l": 24.902
},
"oklch": {
"l": 0.4571,
"c": 0.12987,
"h": 145.3
},
"luminance": 0.10395
}Semantic roles & 50–950 ramp
primary
#166923
secondary
#9F3B90
accent
#3FCEE8
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79