#162B06#162B06

#162B06 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.2% C 0.066 H 134.3°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#162B06
RGBrgb(22, 43, 6)
HSLhsl(94, 76%, 10%)
HSVhsv(94, 86%, 17%)
CMYKcmyk(48.8%, 0%, 86%, 83.1%)
CIE-LABlab(15.02, -16.37, 19.07)
CIE-LCHlch(15.02, 25.14, 130.65°)
OKLaboklab(26.19% -0.0458 0.0469)
OKLCHoklch(26.19% 0.066 134.3)
XYZxyz(1.2276, 1.9114, 0.4765)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B06 #1B062B
analogous
#292B06 #162B06 #062B09
triadic
#162B06 #06162B #2B0616
tetradic
#162B06 #06292B #1B062B #2B0906
square
#162B06 #06292B #1B062B #2B0906
split-complementary
#162B06 #09062B #2B0629
monochromatic
#0E1B04 #0E1B04 #162B06 #31610D #4D9615

Accessibility & contrast

On white

15.19
#162B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#162B06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B06
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B06#FFFFFF#000000##FFFFFF
##162B061.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2702
Deuteranopia (green-blind)
#2A2509
Tritanopia (blue-blind)
#162924
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #162b06;
/* rgb */ color: rgb(22, 43, 6);
/* oklch */ color: oklch(26.2% 0.066 134.3);
Tailwind
colors: {
  custom: {
    50: '#556449',
    500: '#162b06',
    950: '#000000',
  },
}
SCSS
$custom: #162b06;
$custom-light: #556449;
$custom-dark: #000000;
JSON
{
  "hex": "#162b06",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 6
  },
  "hsl": {
    "h": 94.054,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26187,
    "c": 0.06557,
    "h": 134.3
  },
  "luminance": 0.01911
}

Semantic roles & 50–950 ramp

primary
#162B06
secondary
#4B216C
accent
#36F2A1
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #162B06

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

Preview Lab → · Contrast checker → · Palette generator →

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