#162F03#162F03

#162F03 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.4% C 0.075 H 134.7°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#162F03
RGBrgb(22, 47, 3)
HSLhsl(94, 88%, 10%)
HSVhsv(94, 94%, 18%)
CMYKcmyk(53.2%, 0%, 93.6%, 81.6%)
CIE-LABlab(16.55, -18.82, 22.23)
CIE-LCHlch(16.55, 29.13, 130.24°)
OKLaboklab(27.44% -0.0528 0.0533)
OKLCHoklch(27.44% 0.075 134.7)
XYZxyz(1.3638, 2.2101, 0.4409)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F03 #1C032F
analogous
#2C2F03 #162F03 #032F06
triadic
#162F03 #03162F #2F0316
tetradic
#162F03 #032C2F #1C032F #2F0603
square
#162F03 #032C2F #1C032F #2F0603
split-complementary
#162F03 #06032F #2F032C
monochromatic
#0D1D02 #0D1D02 #162F03 #316907 #4CA20A

Accessibility & contrast

On white

14.56
#162F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162F03
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F03#FFFFFF#000000##FFFFFF
##162F031.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162f03;
/* rgb */ color: rgb(22, 47, 3);
/* oklch */ color: oklch(27.4% 0.075 134.7);
Tailwind
colors: {
  custom: {
    50: '#566848',
    500: '#162f03',
    950: '#000000',
  },
}
SCSS
$custom: #162f03;
$custom-light: #566848;
$custom-dark: #000000;
JSON
{
  "hex": "#162f03",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 94.091,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27437,
    "c": 0.07504,
    "h": 134.7
  },
  "luminance": 0.0221
}

Semantic roles & 50–950 ramp

primary
#162F03
secondary
#4D1B73
accent
#2AFEA2
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #162F03

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

Preview Lab → · Contrast checker → · Palette generator →

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