#166826#166826
#166826 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.126 H 146.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #166826 |
|---|---|
| RGB | rgb(22, 104, 38) |
| HSL | hsl(132, 65%, 25%) |
| HSV | hsv(132, 79%, 41%) |
| CMYK | cmyk(78.8%, 0%, 63.5%, 59.2%) |
| CIE-LAB | lab(38.22, -38.78, 29.84) |
| CIE-LCH | lch(38.22, 48.94, 142.42°) |
| OKLab | oklab(45.45% -0.1045 0.0703) |
| OKLCH | oklch(45.45% 0.126 146.1) |
| XYZ | xyz(5.6306, 10.2105, 3.5074) |
| Luminance | 0.1021 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.67
Deep Green
#02590F
ΔE00 5.21
Forest Green
#2D5A27
ΔE00 5.84
Pine
#2B5D34
ΔE00 6.40
Forest
#0B5509
ΔE00 6.52
Spruce
#0A5F38
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166826 #681658
analogous
#2F6816 #166826 #16684F
triadic
#166826 #261668 #682616
tetradic
#166826 #162F68 #681658 #684F16
square
#166826 #162F68 #681658 #684F16
split-complementary
#166826 #4F1668 #68162F
monochromatic
#051909 #0B3514 #166826 #219B38 #2BCD4B
Accessibility & contrast
On white
6.90
#166826 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#166826 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166826
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166826 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166826 | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E1F
Deuteranopia (green-blind)
#60572B
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #166826; /* rgb */ color: rgb(22, 104, 38); /* oklch */ color: oklch(45.5% 0.126 146.1);
Tailwind
colors: {
custom: {
50: '#629463',
500: '#166826',
950: '#000000',
},
}SCSS
$custom: #166826; $custom-light: #629463; $custom-dark: #000000;
JSON
{
"hex": "#166826",
"rgb": {
"r": 22,
"g": 104,
"b": 38
},
"hsl": {
"h": 131.707,
"s": 65.079,
"l": 24.706
},
"oklch": {
"l": 0.45452,
"c": 0.12597,
"h": 146.1
},
"luminance": 0.10211
}Semantic roles & 50–950 ramp
primary
#166826
secondary
#9F3B8B
accent
#40C7E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A