#162E06#162E06

#162E06 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.2% C 0.070 H 135.4°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#162E06
RGBrgb(22, 46, 6)
HSLhsl(96, 77%, 10%)
HSVhsv(96, 87%, 18%)
CMYKcmyk(52.2%, 0%, 87%, 82%)
CIE-LABlab(16.19, -17.96, 20.56)
CIE-LCHlch(16.19, 27.30, 131.12°)
OKLaboklab(27.15% -0.0501 0.0494)
OKLCHoklch(27.15% 0.07 135.4)
XYZxyz(1.3407, 2.1376, 0.5142)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E06 #1E062E
analogous
#2A2E06 #162E06 #062E0A
triadic
#162E06 #06162E #2E0616
tetradic
#162E06 #062A2E #1E062E #2E0A06
square
#162E06 #062A2E #1E062E #2E0A06
split-complementary
#162E06 #0A062E #2E062A
monochromatic
#0D1B04 #0D1B04 #162E06 #30640D #4A9A14

Accessibility & contrast

On white

14.71
#162E06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#162E06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E06
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E06#FFFFFF#000000##FFFFFF
##162E061.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302902
Deuteranopia (green-blind)
#2D2709
Tritanopia (blue-blind)
#152C26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #162e06;
/* rgb */ color: rgb(22, 46, 6);
/* oklch */ color: oklch(27.2% 0.070 135.4);
Tailwind
colors: {
  custom: {
    50: '#556749',
    500: '#162e06',
    950: '#000000',
  },
}
SCSS
$custom: #162e06;
$custom-light: #556749;
$custom-dark: #000000;
JSON
{
  "hex": "#162e06",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 6
  },
  "hsl": {
    "h": 96,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27152,
    "c": 0.07037,
    "h": 135.4
  },
  "luminance": 0.02138
}

Semantic roles & 50–950 ramp

primary
#162E06
secondary
#50216F
accent
#34F3A7
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #162E06

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

Preview Lab → · Contrast checker → · Palette generator →

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