#1F2014#1F2014

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

Color values

HEX#1F2014
RGBrgb(31, 32, 20)
HSLhsl(65, 23%, 10%)
HSVhsv(65, 38%, 13%)
CMYKcmyk(3.1%, 0%, 37.5%, 87.5%)
CIE-LABlab(11.79, -3.10, 7.98)
CIE-LCHlch(11.79, 8.56, 111.25°)
OKLaboklab(23.85% -0.0081 0.0202)
OKLCHoklch(23.85% 0.022 111.9)
XYZxyz(1.2079, 1.3749, 0.8634)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2014 #151420
analogous
#201B14 #1F2014 #192014
triadic
#1F2014 #141F20 #20141F
tetradic
#1F2014 #14201B #151420 #201419
square
#1F2014 #14201B #151420 #201419
split-complementary
#1F2014 #141920 #1B1420
monochromatic
#12130C #12130C #1F2014 #43462C #686B43

Accessibility & contrast

On white

16.47
#1F2014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2014
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2014#FFFFFF#000000##FFFFFF
##1F20141.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221F13
Deuteranopia (green-blind)
#221F14
Tritanopia (blue-blind)
#211F1D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1f2014;
/* rgb */ color: rgb(31, 32, 20);
/* oklch */ color: oklch(23.8% 0.022 111.9);
Tailwind
colors: {
  custom: {
    50: '#5a5b51',
    500: '#1f2014',
    950: '#000000',
  },
}
SCSS
$custom: #1f2014;
$custom-light: #5a5b51;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2014",
  "rgb": {
    "r": 31,
    "g": 32,
    "b": 20
  },
  "hsl": {
    "h": 65,
    "s": 23.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.23846,
    "c": 0.02172,
    "h": 111.9
  },
  "luminance": 0.01375
}

Semantic roles & 50–950 ramp

primary
#1F2014
secondary
#3E3C54
accent
#68C070
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040402
muted
#797978

Preview Lab

Preview with #1F2014

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

Preview Lab → · Contrast checker → · Palette generator →

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