#162D02#162D02

#162D02 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 26.8% C 0.073 H 133.7°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#162D02
RGBrgb(22, 45, 2)
HSLhsl(92, 91%, 9%)
HSVhsv(92, 96%, 18%)
CMYKcmyk(51.1%, 0%, 95.6%, 82.4%)
CIE-LABlab(15.76, -17.92, 21.64)
CIE-LCHlch(15.76, 28.10, 129.62°)
OKLaboklab(26.78% -0.0505 0.0529)
OKLCHoklch(26.78% 0.073 133.7)
XYZxyz(1.2802, 2.0517, 0.3860)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D02 #19022D
analogous
#2C2D02 #162D02 #022D04
triadic
#162D02 #02162D #2D0216
tetradic
#162D02 #022C2D #19022D #2D0402
square
#162D02 #022C2D #19022D #2D0402
split-complementary
#162D02 #04022D #2D022C
monochromatic
#0E1D01 #0E1D01 #162D02 #336805 #4FA207

Accessibility & contrast

On white

14.89
#162D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#162D02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D02
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D02#FFFFFF#000000##FFFFFF
##162D021.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2C2705
Tritanopia (blue-blind)
#162B25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #162d02;
/* rgb */ color: rgb(22, 45, 2);
/* oklch */ color: oklch(26.8% 0.073 133.7);
Tailwind
colors: {
  custom: {
    50: '#556648',
    500: '#162d02',
    950: '#000000',
  },
}
SCSS
$custom: #162d02;
$custom-light: #556648;
$custom-dark: #000000;
JSON
{
  "hex": "#162d02",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 2
  },
  "hsl": {
    "h": 92.093,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26779,
    "c": 0.07318,
    "h": 133.7
  },
  "luminance": 0.02052
}

Semantic roles & 50–950 ramp

primary
#162D02
secondary
#491972
accent
#29FF9B
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #162D02

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

Preview Lab → · Contrast checker → · Palette generator →

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