#166E1B#166E1B
#166E1B is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.1% C 0.142 H 143.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #166E1B |
|---|---|
| RGB | rgb(22, 110, 27) |
| HSL | hsl(123, 67%, 26%) |
| HSV | hsv(123, 80%, 43%) |
| CMYK | cmyk(80%, 0%, 75.5%, 56.9%) |
| CIE-LAB | lab(40.25, -42.21, 37.14) |
| CIE-LCH | lch(40.25, 56.23, 138.66°) |
| OKLab | oklab(47.1% -0.1143 0.0845) |
| OKLCH | oklch(47.1% 0.142 143.5) |
| XYZ | xyz(6.1042, 11.4009, 2.9156) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.85
Darkish Green
#287C37
ΔE00 5.78
Tree Green
#2A7E19
ΔE00 6.06
Deep Green
#02590F
ΔE00 6.85
Green
#008000
ΔE00 6.94
Forest
#0B5509
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166E1B #6E1669
analogous
#3D6E16 #166E1B #166E47
triadic
#166E1B #1B166E #6E1B16
tetradic
#166E1B #163D6E #6E1669 #6E4716
square
#166E1B #163D6E #6E1669 #6E4716
split-complementary
#166E1B #47166E #6E163D
monochromatic
#051A06 #0C3B0E #166E1B #20A128 #2AD434
Accessibility & contrast
On white
6.40
#166E1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#166E1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166E1B
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166E1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166E1B | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70630D
Deuteranopia (green-blind)
#675C23
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #166e1b; /* rgb */ color: rgb(22, 110, 27); /* oklch */ color: oklch(47.1% 0.142 143.5);
Tailwind
colors: {
custom: {
50: '#64995d',
500: '#166e1b',
950: '#000000',
},
}SCSS
$custom: #166e1b; $custom-light: #64995d; $custom-dark: #000000;
JSON
{
"hex": "#166e1b",
"rgb": {
"r": 22,
"g": 110,
"b": 27
},
"hsl": {
"h": 123.409,
"s": 66.667,
"l": 25.882
},
"oklch": {
"l": 0.47103,
"c": 0.14217,
"h": 143.5
},
"luminance": 0.11402
}Semantic roles & 50–950 ramp
primary
#166E1B
secondary
#A43C9E
accent
#3EE0EA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79