#166726#166726
#166726 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.2% C 0.125 H 146.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #166726 |
|---|---|
| RGB | rgb(22, 103, 38) |
| HSL | hsl(132, 65%, 25%) |
| HSV | hsv(132, 79%, 40%) |
| CMYK | cmyk(78.6%, 0%, 63.1%, 59.6%) |
| CIE-LAB | lab(37.86, -38.41, 29.43) |
| CIE-LCH | lch(37.86, 48.39, 142.54°) |
| OKLab | oklab(45.16% -0.1035 0.0694) |
| OKLCH | oklch(45.16% 0.125 146.1) |
| XYZ | xyz(5.5306, 10.0104, 3.4741) |
| Luminance | 0.1001 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.72
Deep Green
#02590F
ΔE00 4.96
Forest Green
#2D5A27
ΔE00 5.55
Pine
#2B5D34
ΔE00 6.12
Forest
#0B5509
ΔE00 6.27
Spruce
#0A5F38
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166726 #671657
analogous
#2F6716 #166726 #16674F
triadic
#166726 #261667 #672616
tetradic
#166726 #162F67 #671657 #674F16
square
#166726 #162F67 #671657 #674F16
split-complementary
#166726 #4F1667 #67162F
monochromatic
#051909 #0B3513 #166726 #219939 #2CCC4B
Accessibility & contrast
On white
6.99
#166726 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.00
#166726 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166726
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166726 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166726 | 1.00 | 6.99 | 3.00 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D1F
Deuteranopia (green-blind)
#5F572B
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #166726; /* rgb */ color: rgb(22, 103, 38); /* oklch */ color: oklch(45.2% 0.125 146.1);
Tailwind
colors: {
custom: {
50: '#629363',
500: '#166726',
950: '#000000',
},
}SCSS
$custom: #166726; $custom-light: #629363; $custom-dark: #000000;
JSON
{
"hex": "#166726",
"rgb": {
"r": 22,
"g": 103,
"b": 38
},
"hsl": {
"h": 131.852,
"s": 64.8,
"l": 24.51
},
"oklch": {
"l": 0.45156,
"c": 0.12464,
"h": 146.1
},
"luminance": 0.10011
}Semantic roles & 50–950 ramp
primary
#166726
secondary
#9E3B8A
accent
#40C7E8
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79