#166F30#166F30
#166F30 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.6% C 0.126 H 148.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #166F30 |
|---|---|
| RGB | rgb(22, 111, 48) |
| HSL | hsl(138, 67%, 26%) |
| HSV | hsv(138, 80%, 44%) |
| CMYK | cmyk(80.2%, 0%, 56.8%, 56.5%) |
| CIE-LAB | lab(40.82, -39.94, 27.71) |
| CIE-LCH | lch(40.82, 48.61, 145.24°) |
| OKLab | oklab(47.65% -0.1074 0.0665) |
| OKLCH | oklch(47.65% 0.126 148.2) |
| XYZ | xyz(6.5483, 11.7521, 4.7190) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.73
Darkgreen
#006400
ΔE00 6.63
Jungle Green
#048243
ΔE00 6.72
Spruce
#0A5F38
ΔE00 7.31
Pine
#2B5D34
ΔE00 7.44
Forest Green
#2D5A27
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166F30 #6F1655
analogous
#286F16 #166F30 #166F5C
triadic
#166F30 #30166F #6F3016
tetradic
#166F30 #16286F #6F1655 #6F5C16
square
#166F30 #16286F #6F1655 #6F5C16
split-complementary
#166F30 #5C166F #6F1628
monochromatic
#051A0B #0C3C1A #166F30 #20A246 #2BD55C
Accessibility & contrast
On white
6.27
#166F30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#166F30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #166F30
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166F30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166F30 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70652A
Deuteranopia (green-blind)
#665D35
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #166f30; /* rgb */ color: rgb(22, 111, 48); /* oklch */ color: oklch(47.6% 0.126 148.2);
Tailwind
colors: {
custom: {
50: '#64996a',
500: '#166f30',
950: '#000000',
},
}SCSS
$custom: #166f30; $custom-light: #64996a; $custom-dark: #000000;
JSON
{
"hex": "#166f30",
"rgb": {
"r": 22,
"g": 111,
"b": 48
},
"hsl": {
"h": 137.528,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.47648,
"c": 0.12628,
"h": 148.2
},
"luminance": 0.11753
}Semantic roles & 50–950 ramp
primary
#166F30
secondary
#A53C86
accent
#3EB8EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A