#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
RGBrgb(22, 44, 2)
HSLhsl(91, 91%, 9%)
HSVhsv(91, 95%, 17%)
CMYKcmyk(50%, 0%, 95.5%, 82.7%)
CIE-LABlab(15.36, -17.40, 21.15)
CIE-LCHlch(15.36, 27.38, 129.45°)
OKLaboklab(26.46% -0.0491 0.0522)
OKLCHoklch(26.46% 0.072 133.3)
XYZxyz(1.2425, 1.9763, 0.3734)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

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
##162C021.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.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

Preview Lab

Preview with #162C02

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#162C02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva