#162F05#162F05

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

Color values

HEX#162F05
RGBrgb(22, 47, 5)
HSLhsl(96, 81%, 10%)
HSVhsv(96, 89%, 18%)
CMYKcmyk(53.2%, 0%, 89.4%, 81.6%)
CIE-LABlab(16.57, -18.58, 21.45)
CIE-LCHlch(16.57, 28.38, 130.91°)
OKLaboklab(27.46% -0.0519 0.0513)
OKLCHoklch(27.46% 0.073 135.4)
XYZxyz(1.3748, 2.2145, 0.4985)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F05 #1E052F
analogous
#2B2F05 #162F05 #052F09
triadic
#162F05 #05162F #2F0516
tetradic
#162F05 #052B2F #1E052F #2F0905
square
#162F05 #052B2F #1E052F #2F0905
split-complementary
#162F05 #09052F #2F052B
monochromatic
#0D1C03 #0D1C03 #162F05 #30660B #4A9E11

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##162F05#FFFFFF#000000##FFFFFF
##162F051.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)
#312A01
Deuteranopia (green-blind)
#2E2809
Tritanopia (blue-blind)
#152D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162f05;
/* rgb */ color: rgb(22, 47, 5);
/* oklch */ color: oklch(27.5% 0.073 135.4);
Tailwind
colors: {
  custom: {
    50: '#566849',
    500: '#162f05',
    950: '#000000',
  },
}
SCSS
$custom: #162f05;
$custom-light: #566849;
$custom-dark: #000000;
JSON
{
  "hex": "#162f05",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 5
  },
  "hsl": {
    "h": 95.714,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27461,
    "c": 0.07295,
    "h": 135.4
  },
  "luminance": 0.02215
}

Semantic roles & 50–950 ramp

primary
#162F05
secondary
#501F71
accent
#31F7A7
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #162F05

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

Preview Lab → · Contrast checker → · Palette generator →

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