#162F06#162F06

#162F06 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.5% C 0.072 H 135.7°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#162F06
RGBrgb(22, 47, 6)
HSLhsl(97, 77%, 10%)
HSVhsv(97, 87%, 18%)
CMYKcmyk(53.2%, 0%, 87.2%, 81.6%)
CIE-LABlab(16.59, -18.47, 21.05)
CIE-LCHlch(16.59, 28.01, 131.26°)
OKLaboklab(27.47% -0.0515 0.0502)
OKLCHoklch(27.47% 0.072 135.7)
XYZxyz(1.3802, 2.2167, 0.5274)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F06 #1F062F
analogous
#2A2F06 #162F06 #062F0A
triadic
#162F06 #06162F #2F0616
tetradic
#162F06 #062A2F #1F062F #2F0A06
square
#162F06 #062A2F #1F062F #2F0A06
split-complementary
#162F06 #0A062F #2F062A
monochromatic
#0D1B03 #0D1B03 #162F06 #2F650D #499C14

Accessibility & contrast

On white

14.55
#162F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#162F06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F06
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F06#FFFFFF#000000##FFFFFF
##162F061.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A02
Deuteranopia (green-blind)
#2E280A
Tritanopia (blue-blind)
#152D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162f06;
/* rgb */ color: rgb(22, 47, 6);
/* oklch */ color: oklch(27.5% 0.072 135.7);
Tailwind
colors: {
  custom: {
    50: '#56684a',
    500: '#162f06',
    950: '#000000',
  },
}
SCSS
$custom: #162f06;
$custom-light: #56684a;
$custom-dark: #000000;
JSON
{
  "hex": "#162f06",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 6
  },
  "hsl": {
    "h": 96.585,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27474,
    "c": 0.07193,
    "h": 135.7
  },
  "luminance": 0.02217
}

Semantic roles & 50–950 ramp

primary
#162F06
secondary
#512170
accent
#34F4A9
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #162F06

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

Preview Lab → · Contrast checker → · Palette generator →

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