#162C02#162C02
#162C02 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.5% C 0.072 H 133.3°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).
Color values
| HEX | #162C02 |
|---|---|
| RGB | rgb(22, 44, 2) |
| HSL | hsl(91, 91%, 9%) |
| HSV | hsv(91, 95%, 17%) |
| CMYK | cmyk(50%, 0%, 95.5%, 82.7%) |
| CIE-LAB | lab(15.36, -17.40, 21.15) |
| CIE-LCH | lch(15.36, 27.38, 129.45°) |
| OKLab | oklab(26.46% -0.0491 0.0522) |
| OKLCH | oklch(26.46% 0.072 133.3) |
| XYZ | xyz(1.2425, 1.9763, 0.3734) |
| Luminance | 0.0198 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Very Dark Green
#062E03
ΔE00 3.62
Dark Forest Green
#002D04
ΔE00 4.59
Dark Green
#033500
ΔE00 5.35
Hunter Green (survey)
#0B4008
ΔE00 7.63
Forrest Green
#154406
ΔE00 8.59
Forest Green (survey)
#06470C
ΔE00 9.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162C02 #18022C
analogous
#2B2C02 #162C02 #022C03
triadic
#162C02 #02162C #2C0216
tetradic
#162C02 #022B2C #18022C #2C0302
square
#162C02 #022B2C #18022C #2C0302
split-complementary
#162C02 #03022C #2C022B
monochromatic
#0F1D01 #0F1D01 #162C02 #336705 #51A107
Accessibility & contrast
On white
15.05
#162C02 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#162C02 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162C02
15.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162C02 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162C02 | 1.00 | 15.05 | 1.40 | 15.05 |
| #FFFFFF | 15.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E2800
Deuteranopia (green-blind)
#2B2605
Tritanopia (blue-blind)
#162A24
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #162c02; /* rgb */ color: rgb(22, 44, 2); /* oklch */ color: oklch(26.5% 0.072 133.3);
Tailwind
colors: {
custom: {
50: '#556547',
500: '#162c02',
950: '#000000',
},
}SCSS
$custom: #162c02; $custom-light: #556547; $custom-dark: #000000;
JSON
{
"hex": "#162c02",
"rgb": {
"r": 22,
"g": 44,
"b": 2
},
"hsl": {
"h": 91.429,
"s": 91.304,
"l": 9.02
},
"oklch": {
"l": 0.26456,
"c": 0.07169,
"h": 133.3
},
"luminance": 0.01976
}Semantic roles & 50–950 ramp
primary
#162C02
secondary
#471971
accent
#29FF99
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030500
muted
#787A77