#166228#166228
#166228 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.7% C 0.116 H 147.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #166228 |
|---|---|
| RGB | rgb(22, 98, 40) |
| HSL | hsl(134, 63%, 24%) |
| HSV | hsv(134, 78%, 38%) |
| CMYK | cmyk(77.6%, 0%, 59.2%, 61.6%) |
| CIE-LAB | lab(36.10, -36.20, 26.30) |
| CIE-LCH | lch(36.10, 44.75, 144.00°) |
| OKLab | oklab(43.7% -0.0975 0.0628) |
| OKLCH | oklch(43.7% 0.116 147.2) |
| XYZ | xyz(5.0812, 9.0586, 3.4878) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.18
Deep Green
#02590F
ΔE00 4.32
Pine
#2B5D34
ΔE00 4.53
Spruce
#0A5F38
ΔE00 5.01
Forest
#0B5509
ΔE00 5.51
Darkgreen
#006400
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166228 #621650
analogous
#2A6216 #166228 #16624E
triadic
#166228 #281662 #622816
tetradic
#166228 #162A62 #621650 #624E16
square
#166228 #162A62 #621650 #624E16
split-complementary
#166228 #4E1662 #62162A
monochromatic
#06190A #0B3014 #166228 #21943C #2CC651
Accessibility & contrast
On white
7.47
#166228 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#166228 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166228
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166228 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166228 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635923
Deuteranopia (green-blind)
#5A522C
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #166228; /* rgb */ color: rgb(22, 98, 40); /* oklch */ color: oklch(43.7% 0.116 147.2);
Tailwind
colors: {
custom: {
50: '#608f64',
500: '#166228',
950: '#000000',
},
}SCSS
$custom: #166228; $custom-light: #608f64; $custom-dark: #000000;
JSON
{
"hex": "#166228",
"rgb": {
"r": 22,
"g": 98,
"b": 40
},
"hsl": {
"h": 134.211,
"s": 63.333,
"l": 23.529
},
"oklch": {
"l": 0.43703,
"c": 0.11596,
"h": 147.2
},
"luminance": 0.09059
}Semantic roles & 50–950 ramp
primary
#166228
secondary
#993B83
accent
#41BFE6
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A