#166238#166238
#166238 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.0% C 0.100 H 154.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #166238 |
|---|---|
| RGB | rgb(22, 98, 56) |
| HSL | hsl(147, 63%, 24%) |
| HSV | hsv(147, 78%, 38%) |
| CMYK | cmyk(77.6%, 0%, 42.9%, 61.6%) |
| CIE-LAB | lab(36.35, -33.29, 17.56) |
| CIE-LCH | lch(36.35, 37.63, 152.19°) |
| OKLab | oklab(43.99% -0.0898 0.0437) |
| OKLCH | oklch(43.99% 0.1 154.1) |
| XYZ | xyz(5.4119, 9.1908, 5.2294) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 1.45
Pine
#2B5D34
ΔE00 3.26
Hunter Green
#355E3B
ΔE00 4.70
Forest Green
#2D5A27
ΔE00 5.64
Deep Green
#02590F
ΔE00 7.73
Pine Green
#0A481E
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#166238 #621640
analogous
#1A6216 #166238 #16625E
triadic
#166238 #381662 #623816
tetradic
#166238 #161A62 #621640 #625E16
square
#166238 #161A62 #621640 #625E16
split-complementary
#166238 #5E1662 #62161A
monochromatic
#06190E #0B301B #166238 #219455 #2CC671
Accessibility & contrast
On white
7.40
#166238 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#166238 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #166238
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##166238 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##166238 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625935
Deuteranopia (green-blind)
#59533B
Tritanopia (blue-blind)
#006158
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #166238; /* rgb */ color: rgb(22, 98, 56); /* oklch */ color: oklch(44.0% 0.100 154.1);
Tailwind
colors: {
custom: {
50: '#608f6f',
500: '#166238',
950: '#000000',
},
}SCSS
$custom: #166238; $custom-light: #608f6f; $custom-dark: #000000;
JSON
{
"hex": "#166238",
"rgb": {
"r": 22,
"g": 98,
"b": 56
},
"hsl": {
"h": 146.842,
"s": 63.333,
"l": 23.529
},
"oklch": {
"l": 0.43993,
"c": 0.09982,
"h": 154.1
},
"luminance": 0.09191
}Semantic roles & 50–950 ramp
primary
#166238
secondary
#993B6F
accent
#419DE6
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#050C07
muted
#7A7D7A