#166823#166823
#166823 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.129 H 145.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #166823 |
|---|---|
| RGB | rgb(22, 104, 35) |
| HSL | hsl(130, 65%, 25%) |
| HSV | hsv(130, 79%, 41%) |
| CMYK | cmyk(78.8%, 0%, 66.3%, 59.2%) |
| CIE-LAB | lab(38.18, -39.18, 31.30) |
| CIE-LCH | lch(38.18, 50.15, 141.38°) |
| OKLab | oklab(45.41% -0.1057 0.0732) |
| OKLCH | oklch(45.41% 0.129 145.3) |
| XYZ | xyz(5.5842, 10.1919, 3.2627) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.13
Deep Green
#02590F
ΔE00 5.03
Forest Green
#2D5A27
ΔE00 5.99
Forest
#0B5509
ΔE00 6.33
Pine
#2B5D34
ΔE00 6.80
Darkish Green
#287C37
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166823 #68165B
analogous
#326816 #166823 #16684C
triadic
#166823 #231668 #682316
tetradic
#166823 #163268 #68165B #684C16
square
#166823 #163268 #68165B #684C16
split-complementary
#166823 #4C1668 #681632
monochromatic
#051908 #0B3512 #166823 #219B34 #2BCD45
Accessibility & contrast
On white
6.91
#166823 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#166823 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166823
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166823 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166823 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E1B
Deuteranopia (green-blind)
#615729
Tritanopia (blue-blind)
#006559
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #166823; /* rgb */ color: rgb(22, 104, 35); /* oklch */ color: oklch(45.4% 0.129 145.3);
Tailwind
colors: {
custom: {
50: '#629461',
500: '#166823',
950: '#000000',
},
}SCSS
$custom: #166823; $custom-light: #629461; $custom-dark: #000000;
JSON
{
"hex": "#166823",
"rgb": {
"r": 22,
"g": 104,
"b": 35
},
"hsl": {
"h": 129.512,
"s": 65.079,
"l": 24.706
},
"oklch": {
"l": 0.45414,
"c": 0.12856,
"h": 145.3
},
"luminance": 0.10193
}Semantic roles & 50–950 ramp
primary
#166823
secondary
#9F3B8F
accent
#40CDE8
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79