#1F2000#1F2000

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

Color values

HEX#1F2000
RGBrgb(31, 32, 0)
HSLhsl(62, 100%, 6%)
HSVhsv(62, 100%, 13%)
CMYKcmyk(3.1%, 0%, 100%, 87.5%)
CIE-LABlab(11.45, -5.83, 16.89)
CIE-LCHlch(11.45, 17.87, 109.05°)
OKLaboklab(23.46% -0.0189 0.0481)
OKLCHoklch(23.46% 0.052 111.5)
XYZxyz(1.0816, 1.3244, 0.1987)
Luminance0.0132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2000 #010020
analogous
#201100 #1F2000 #0F2000
triadic
#1F2000 #001F20 #20001F
tetradic
#1F2000 #002011 #010020 #20000F
square
#1F2000 #002011 #010020 #20000F
split-complementary
#1F2000 #000F20 #110020
monochromatic
#1E1F00 #1E1F00 #1F2000 #5A5D00 #969A00

Accessibility & contrast

On white

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

On black

1.26
#1F2000 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F2000#FFFFFF#000000##FFFFFF
##1F20001.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.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: #1f2000;
/* rgb */ color: rgb(31, 32, 0);
/* oklch */ color: oklch(23.5% 0.052 111.5);
Tailwind
colors: {
  custom: {
    50: '#5a5b46',
    500: '#1f2000',
    950: '#000000',
  },
}
SCSS
$custom: #1f2000;
$custom-light: #5a5b46;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2000",
  "rgb": {
    "r": 31,
    "g": 32,
    "b": 0
  },
  "hsl": {
    "h": 61.875,
    "s": 100,
    "l": 6.275
  },
  "oklch": {
    "l": 0.2346,
    "c": 0.05173,
    "h": 111.5
  },
  "luminance": 0.01324
}

Semantic roles & 50–950 ramp

primary
#1F2000
secondary
#151369
accent
#29FF2F
background
#F5F5F3
surface
#E9E9E5
border
#C5C5C1
text
#040400
muted
#797977

Preview Lab

Preview with #1F2000

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

Preview Lab → · Contrast checker → · Palette generator →

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