#1F2011#1F2011

#1F2011 is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 23.8% C 0.027 H 111.5°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#1F2011
RGBrgb(31, 32, 17)
HSLhsl(64, 31%, 10%)
HSVhsv(64, 47%, 13%)
CMYKcmyk(3.1%, 0%, 46.9%, 87.5%)
CIE-LABlab(11.72, -3.62, 9.75)
CIE-LCHlch(11.72, 10.40, 110.38°)
OKLaboklab(23.77% -0.0098 0.0248)
OKLCHoklch(23.77% 0.027 111.5)
XYZxyz(1.1828, 1.3648, 0.7313)
Luminance0.0137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2011 #121120
analogous
#201A11 #1F2011 #182011
triadic
#1F2011 #111F20 #20111F
tetradic
#1F2011 #11201A #121120 #201118
square
#1F2011 #11201A #121120 #201118
split-complementary
#1F2011 #111820 #1A1120
monochromatic
#13140B #13140B #1F2011 #464826 #6C703B

Accessibility & contrast

On white

16.50
#1F2011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1F2011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2011
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2011#FFFFFF#000000##FFFFFF
##1F20111.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221F10
Deuteranopia (green-blind)
#221F12
Tritanopia (blue-blind)
#211E1C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1f2011;
/* rgb */ color: rgb(31, 32, 17);
/* oklch */ color: oklch(23.8% 0.027 111.5);
Tailwind
colors: {
  custom: {
    50: '#5a5b4f',
    500: '#1f2011',
    950: '#000000',
  },
}
SCSS
$custom: #1f2011;
$custom-light: #5a5b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2011",
  "rgb": {
    "r": 31,
    "g": 32,
    "b": 17
  },
  "hsl": {
    "h": 64,
    "s": 30.612,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2377,
    "c": 0.02666,
    "h": 111.5
  },
  "luminance": 0.01365
}

Semantic roles & 50–950 ramp

primary
#1F2011
secondary
#393755
accent
#61C768
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040402
muted
#797978

Preview Lab

Preview with #1F2011

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

Preview Lab → · Contrast checker → · Palette generator →

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