#1F2301#1F2301

#1F2301 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.4% C 0.054 H 116.0°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#1F2301
RGBrgb(31, 35, 1)
HSLhsl(67, 94%, 7%)
HSVhsv(67, 97%, 14%)
CMYKcmyk(11.4%, 0%, 97.1%, 86.3%)
CIE-LABlab(12.58, -7.69, 18.03)
CIE-LCHlch(12.58, 19.60, 113.09°)
OKLaboklab(24.38% -0.0237 0.0486)
OKLCHoklch(24.38% 0.054 116)
XYZxyz(1.1716, 1.4956, 0.2557)
Luminance0.0150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2301 #050123
analogous
#231601 #1F2301 #0E2301
triadic
#1F2301 #011F23 #23011F
tetradic
#1F2301 #012316 #050123 #23010E
square
#1F2301 #012316 #050123 #23010E
split-complementary
#1F2301 #010E23 #160123
monochromatic
#1A1E01 #1A1E01 #1F2301 #545F03 #889A04

Accessibility & contrast

On white

16.16
#1F2301 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1F2301 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2301
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2301#FFFFFF#000000##FFFFFF
##1F23011.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262000
Deuteranopia (green-blind)
#262103
Tritanopia (blue-blind)
#22201C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1f2301;
/* rgb */ color: rgb(31, 35, 1);
/* oklch */ color: oklch(24.4% 0.054 116.0);
Tailwind
colors: {
  custom: {
    50: '#5b5d47',
    500: '#1f2301',
    950: '#000000',
  },
}
SCSS
$custom: #1f2301;
$custom-light: #5b5d47;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2301",
  "rgb": {
    "r": 31,
    "g": 35,
    "b": 1
  },
  "hsl": {
    "h": 67.059,
    "s": 94.444,
    "l": 7.059
  },
  "oklch": {
    "l": 0.24376,
    "c": 0.05412,
    "h": 116
  },
  "luminance": 0.01496
}

Semantic roles & 50–950 ramp

primary
#1F2301
secondary
#20166A
accent
#29FF42
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #1F2301

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

Preview Lab → · Contrast checker → · Palette generator →

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