#166F12#166F12
#166F12 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.3% C 0.149 H 142.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #166F12 |
|---|---|
| RGB | rgb(22, 111, 18) |
| HSL | hsl(117, 72%, 25%) |
| HSV | hsv(117, 84%, 44%) |
| CMYK | cmyk(80.2%, 0%, 83.8%, 56.5%) |
| CIE-LAB | lab(40.54, -43.28, 40.76) |
| CIE-LCH | lch(40.54, 59.45, 136.72°) |
| OKLab | oklab(47.33% -0.1177 0.0907) |
| OKLCH | oklch(47.33% 0.149 142.4) |
| XYZ | xyz(6.1241, 11.5824, 2.4850) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.76
Tree Green
#2A7E19
ΔE00 5.43
Green
#008000
ΔE00 6.13
Darkish Green
#287C37
ΔE00 6.25
Dark Grass Green
#388004
ΔE00 7.36
Deep Green
#02590F
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166F12 #6B126F
analogous
#456F12 #166F12 #126F3C
triadic
#166F12 #12166F #6F1216
tetradic
#166F12 #12456F #6B126F #6F3C12
square
#166F12 #12456F #6B126F #6F3C12
split-complementary
#166F12 #3C126F #6F1245
monochromatic
#051A04 #0C3A09 #166F12 #20A41B #2BD823
Accessibility & contrast
On white
6.33
#166F12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#166F12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166F12
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166F12 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #166f12; /* rgb */ color: rgb(22, 111, 18); /* oklch */ color: oklch(47.3% 0.149 142.4);
Tailwind
colors: {
custom: {
50: '#659959',
500: '#166f12',
950: '#000000',
},
}SCSS
$custom: #166f12; $custom-light: #659959; $custom-dark: #000000;
JSON
{
"hex": "#166f12",
"rgb": {
"r": 22,
"g": 111,
"b": 18
},
"hsl": {
"h": 117.419,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47332,
"c": 0.14857,
"h": 142.4
},
"luminance": 0.11583
}Semantic roles & 50–950 ramp
primary
#166F12
secondary
#A137A6
accent
#39EFE7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79