#166A1C#166A1C
#166A1C is a mid, vivid green. Relative luminance 0.106; OKLCH L 45.9% C 0.137 H 143.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #166A1C |
|---|---|
| RGB | rgb(22, 106, 28) |
| HSL | hsl(124, 66%, 25%) |
| HSV | hsv(124, 79%, 42%) |
| CMYK | cmyk(79.2%, 0%, 73.6%, 58.4%) |
| CIE-LAB | lab(38.83, -40.70, 35.25) |
| CIE-LCH | lch(38.83, 53.84, 139.11°) |
| OKLab | oklab(45.93% -0.1102 0.0807) |
| OKLCH | oklch(45.93% 0.137 143.8) |
| XYZ | xyz(5.6941, 10.5618, 2.8369) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.20
Deep Green
#02590F
ΔE00 5.51
Darkish Green
#287C37
ΔE00 6.70
Forest
#0B5509
ΔE00 6.72
Forest Green
#2D5A27
ΔE00 7.04
Tree Green
#2A7E19
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166A1C #6A1664
analogous
#3A6A16 #166A1C #166A46
triadic
#166A1C #1C166A #6A1C16
tetradic
#166A1C #163A6A #6A1664 #6A4616
square
#166A1C #163A6A #6A1664 #6A4616
split-complementary
#166A1C #46166A #6A163A
monochromatic
#051907 #0B370F #166A1C #219D29 #2BCF37
Accessibility & contrast
On white
6.75
#166A1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#166A1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166A1C
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166A1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166A1C | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F10
Deuteranopia (green-blind)
#635924
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #166a1c; /* rgb */ color: rgb(22, 106, 28); /* oklch */ color: oklch(45.9% 0.137 143.8);
Tailwind
colors: {
custom: {
50: '#63965d',
500: '#166a1c',
950: '#000000',
},
}SCSS
$custom: #166a1c; $custom-light: #63965d; $custom-dark: #000000;
JSON
{
"hex": "#166a1c",
"rgb": {
"r": 22,
"g": 106,
"b": 28
},
"hsl": {
"h": 124.286,
"s": 65.625,
"l": 25.098
},
"oklch": {
"l": 0.45931,
"c": 0.13654,
"h": 143.8
},
"luminance": 0.10562
}Semantic roles & 50–950 ramp
primary
#166A1C
secondary
#A03B99
accent
#3FDCE9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79