#164F28#164F28
#164F28 is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.0% C 0.088 H 150.3°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #164F28 |
|---|---|
| RGB | rgb(22, 79, 40) |
| HSL | hsl(139, 56%, 20%) |
| HSV | hsv(139, 72%, 31%) |
| CMYK | cmyk(72.2%, 0%, 49.4%, 69%) |
| CIE-LAB | lab(29.20, -28.32, 17.76) |
| CIE-LCH | lch(29.20, 33.43, 147.90°) |
| OKLab | oklab(38% -0.0764 0.0436) |
| OKLCH | oklch(38% 0.088 150.3) |
| XYZ | xyz(3.5096, 5.9154, 2.9639) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 2.52
Evergreen
#05472A
ΔE00 3.97
Pine
#2B5D34
ΔE00 4.84
Forest Green
#2D5A27
ΔE00 5.36
British Racing Green
#05480D
ΔE00 5.40
Spruce
#0A5F38
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#164F28 #4F163D
analogous
#214F16 #164F28 #164F45
triadic
#164F28 #28164F #4F2816
tetradic
#164F28 #16214F #4F163D #4F4516
square
#164F28 #16214F #4F163D #4F4516
split-complementary
#164F28 #45164F #4F1621
monochromatic
#07180C #091F10 #164F28 #237F40 #31AF58
Accessibility & contrast
On white
9.62
#164F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#164F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #164F28
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##164F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##164F28 | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4825
Deuteranopia (green-blind)
#48432B
Tritanopia (blue-blind)
#014E46
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #164f28; /* rgb */ color: rgb(22, 79, 40); /* oklch */ color: oklch(38.0% 0.088 150.3);
Tailwind
colors: {
custom: {
50: '#5b8162',
500: '#164f28',
950: '#000000',
},
}SCSS
$custom: #164f28; $custom-light: #5b8162; $custom-dark: #000000;
JSON
{
"hex": "#164f28",
"rgb": {
"r": 22,
"g": 79,
"b": 40
},
"hsl": {
"h": 138.947,
"s": 56.436,
"l": 19.804
},
"oklch": {
"l": 0.38003,
"c": 0.08796,
"h": 150.3
},
"luminance": 0.05916
}Semantic roles & 50–950 ramp
primary
#164F28
secondary
#863A6E
accent
#48B0E0
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79