#1F2003#1F2003

#1F2003 is a very dark, muted yellow. Relative luminance 0.013; OKLCH L 23.5% C 0.047 H 111.4°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#1F2003
RGBrgb(31, 32, 3)
HSLhsl(62, 83%, 7%)
HSVhsv(62, 91%, 13%)
CMYKcmyk(3.1%, 0%, 90.6%, 87.5%)
CIE-LABlab(11.49, -5.46, 15.73)
CIE-LCHlch(11.49, 16.65, 109.14°)
OKLaboklab(23.51% -0.0171 0.0437)
OKLCHoklch(23.51% 0.047 111.4)
XYZxyz(1.0981, 1.3309, 0.2852)
Luminance0.0133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2003 #040320
analogous
#201303 #1F2003 #112003
triadic
#1F2003 #031F20 #20031F
tetradic
#1F2003 #032013 #040320 #200311
square
#1F2003 #032013 #040320 #200311
split-complementary
#1F2003 #031120 #130320
monochromatic
#1B1C03 #1B1C03 #1F2003 #555808 #8B900D

Accessibility & contrast

On white

16.59
#1F2003 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2003
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2003#FFFFFF#000000##FFFFFF
##1F20031.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E01
Deuteranopia (green-blind)
#241F04
Tritanopia (blue-blind)
#221D1A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1f2003;
/* rgb */ color: rgb(31, 32, 3);
/* oklch */ color: oklch(23.5% 0.047 111.4);
Tailwind
colors: {
  custom: {
    50: '#5a5b48',
    500: '#1f2003',
    950: '#000000',
  },
}
SCSS
$custom: #1f2003;
$custom-light: #5a5b48;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2003",
  "rgb": {
    "r": 31,
    "g": 32,
    "b": 3
  },
  "hsl": {
    "h": 62.069,
    "s": 82.857,
    "l": 6.863
  },
  "oklch": {
    "l": 0.23511,
    "c": 0.04691,
    "h": 111.4
  },
  "luminance": 0.01331
}

Semantic roles & 50–950 ramp

primary
#1F2003
secondary
#1D1B64
accent
#2FF936
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #1F2003

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

Preview Lab → · Contrast checker → · Palette generator →

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