#1F2001#1F2001

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

Color values

HEX#1F2001
RGBrgb(31, 32, 1)
HSLhsl(62, 94%, 6%)
HSVhsv(62, 97%, 13%)
CMYKcmyk(3.1%, 0%, 96.9%, 87.5%)
CIE-LABlab(11.46, -5.71, 16.50)
CIE-LCHlch(11.46, 17.46, 109.08°)
OKLaboklab(23.48% -0.0183 0.0466)
OKLCHoklch(23.48% 0.05 111.4)
XYZxyz(1.0871, 1.3266, 0.2275)
Luminance0.0133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2001 #020120
analogous
#201201 #1F2001 #102001
triadic
#1F2001 #011F20 #20011F
tetradic
#1F2001 #012012 #020120 #200110
square
#1F2001 #012012 #020120 #200110
split-complementary
#1F2001 #011020 #120120
monochromatic
#1D1E01 #1D1E01 #1F2001 #585B03 #929705

Accessibility & contrast

On white

16.60
#1F2001 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2001
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2001#FFFFFF#000000##FFFFFF
##1F20011.0016.601.2716.60
#FFFFFF16.601.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241E00
Deuteranopia (green-blind)
#241F02
Tritanopia (blue-blind)
#221D1A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1f2001;
/* rgb */ color: rgb(31, 32, 1);
/* oklch */ color: oklch(23.5% 0.050 111.4);
Tailwind
colors: {
  custom: {
    50: '#5a5b47',
    500: '#1f2001',
    950: '#000000',
  },
}
SCSS
$custom: #1f2001;
$custom-light: #5a5b47;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2001",
  "rgb": {
    "r": 31,
    "g": 32,
    "b": 1
  },
  "hsl": {
    "h": 61.935,
    "s": 93.939,
    "l": 6.471
  },
  "oklch": {
    "l": 0.23477,
    "c": 0.05008,
    "h": 111.4
  },
  "luminance": 0.01327
}

Semantic roles & 50–950 ramp

primary
#1F2001
secondary
#181567
accent
#29FF30
background
#F5F5F3
surface
#E9E9E5
border
#C5C5C1
text
#040400
muted
#797977

Preview Lab

Preview with #1F2001

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

Preview Lab → · Contrast checker → · Palette generator →

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