#166512#166512
#166512 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.4% C 0.137 H 142.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #166512 |
|---|---|
| RGB | rgb(22, 101, 18) |
| HSL | hsl(117, 70%, 23%) |
| HSV | hsv(117, 82%, 40%) |
| CMYK | cmyk(78.2%, 0%, 82.2%, 60.4%) |
| CIE-LAB | lab(36.97, -39.81, 37.34) |
| CIE-LCH | lch(36.97, 54.58, 136.83°) |
| OKLab | oklab(44.36% -0.1083 0.0836) |
| OKLCH | oklch(44.36% 0.137 142.3) |
| XYZ | xyz(5.0934, 9.5210, 2.1415) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 1.76
Deep Green
#02590F
ΔE00 4.10
Forest
#0B5509
ΔE00 5.13
Forest Green
#2D5A27
ΔE00 6.44
Navy Green
#35530A
ΔE00 8.24
Pine
#2B5D34
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166512 #611265
analogous
#3F6512 #166512 #126537
triadic
#166512 #121665 #651216
tetradic
#166512 #123F65 #611265 #653712
square
#166512 #123F65 #611265 #653712
split-complementary
#166512 #371265 #65123F
monochromatic
#061A05 #0B3109 #166512 #21991B #2DCD25
Accessibility & contrast
On white
7.23
#166512 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#166512 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166512
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166512 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166512 | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675B00
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#006255
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #166512; /* rgb */ color: rgb(22, 101, 18); /* oklch */ color: oklch(44.4% 0.137 142.3);
Tailwind
colors: {
custom: {
50: '#629257',
500: '#166512',
950: '#000000',
},
}SCSS
$custom: #166512; $custom-light: #629257; $custom-dark: #000000;
JSON
{
"hex": "#166512",
"rgb": {
"r": 22,
"g": 101,
"b": 18
},
"hsl": {
"h": 117.108,
"s": 69.748,
"l": 23.333
},
"oklch": {
"l": 0.44359,
"c": 0.13678,
"h": 142.3
},
"luminance": 0.09522
}Semantic roles & 50–950 ramp
primary
#166512
secondary
#98369D
accent
#3BEDE4
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78