#1F2016#1F2016

#1F2016 is a very dark, near-neutral yellow. Relative luminance 0.014; OKLCH L 23.9% C 0.018 H 112.4°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#1F2016
RGBrgb(31, 32, 22)
HSLhsl(66, 19%, 11%)
HSVhsv(66, 31%, 13%)
CMYKcmyk(3.1%, 0%, 31.2%, 87.5%)
CIE-LABlab(11.84, -2.72, 6.67)
CIE-LCHlch(11.84, 7.20, 112.22°)
OKLaboklab(23.9% -0.007 0.0169)
OKLCHoklch(23.9% 0.018 112.4)
XYZxyz(1.2264, 1.3823, 0.9611)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2016 #171620
analogous
#201C16 #1F2016 #1A2016
triadic
#1F2016 #161F20 #20161F
tetradic
#1F2016 #16201C #171620 #20161A
square
#1F2016 #16201C #171620 #20161A
split-complementary
#1F2016 #161A20 #1C1620
monochromatic
#12120C #12120C #1F2016 #42442F #656948

Accessibility & contrast

On white

16.45
#1F2016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1F2016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2016
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2016#FFFFFF#000000##FFFFFF
##1F20161.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221F15
Deuteranopia (green-blind)
#221F16
Tritanopia (blue-blind)
#201F1D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1f2016;
/* rgb */ color: rgb(31, 32, 22);
/* oklch */ color: oklch(23.9% 0.018 112.4);
Tailwind
colors: {
  custom: {
    50: '#5a5b53',
    500: '#1f2016',
    950: '#000000',
  },
}
SCSS
$custom: #1f2016;
$custom-light: #5a5b53;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2016",
  "rgb": {
    "r": 31,
    "g": 32,
    "b": 22
  },
  "hsl": {
    "h": 66,
    "s": 18.519,
    "l": 10.588
  },
  "oklch": {
    "l": 0.23902,
    "c": 0.01829,
    "h": 112.4
  },
  "luminance": 0.01382
}

Semantic roles & 50–950 ramp

primary
#1F2016
secondary
#413F52
accent
#6DBB74
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#030402
muted
#787978

Preview Lab

Preview with #1F2016

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

Preview Lab → · Contrast checker → · Palette generator →

#1F2016 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva