#166618#166618
#166618 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.7% C 0.134 H 143.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #166618 |
|---|---|
| RGB | rgb(22, 102, 24) |
| HSL | hsl(122, 65%, 24%) |
| HSV | hsv(122, 78%, 40%) |
| CMYK | cmyk(78.4%, 0%, 76.5%, 60%) |
| CIE-LAB | lab(37.37, -39.66, 35.42) |
| CIE-LCH | lch(37.37, 53.17, 138.23°) |
| OKLab | oklab(44.71% -0.1076 0.0805) |
| OKLCH | oklch(44.71% 0.134 143.2) |
| XYZ | xyz(5.2468, 9.7387, 2.4672) |
| Luminance | 0.0974 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.45
Deep Green
#02590F
ΔE00 4.26
Forest
#0B5509
ΔE00 5.42
Forest Green
#2D5A27
ΔE00 6.21
Pine
#2B5D34
ΔE00 7.75
Darkish Green
#287C37
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166618 #661664
analogous
#3C6616 #166618 #166640
triadic
#166618 #181666 #661816
tetradic
#166618 #163C66 #661664 #664016
square
#166618 #163C66 #661664 #664016
split-complementary
#166618 #401666 #66163C
monochromatic
#051906 #0B340C #166618 #219824 #2CCB30
Accessibility & contrast
On white
7.12
#166618 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#166618 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166618
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166618 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166618 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685C0A
Deuteranopia (green-blind)
#5F5620
Tritanopia (blue-blind)
#006357
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #166618; /* rgb */ color: rgb(22, 102, 24); /* oklch */ color: oklch(44.7% 0.134 143.2);
Tailwind
colors: {
custom: {
50: '#62935a',
500: '#166618',
950: '#000000',
},
}SCSS
$custom: #166618; $custom-light: #62935a; $custom-dark: #000000;
JSON
{
"hex": "#166618",
"rgb": {
"r": 22,
"g": 102,
"b": 24
},
"hsl": {
"h": 121.5,
"s": 64.516,
"l": 24.314
},
"oklch": {
"l": 0.44705,
"c": 0.13433,
"h": 143.2
},
"luminance": 0.09739
}Semantic roles & 50–950 ramp
primary
#166618
secondary
#9D3B9A
accent
#40E3E8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79