#1F210A#1F210A

#1F210A is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 23.9% C 0.039 H 113.4°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#1F210A
RGBrgb(31, 33, 10)
HSLhsl(65, 53%, 8%)
HSVhsv(65, 70%, 13%)
CMYKcmyk(6.1%, 0%, 69.7%, 87.1%)
CIE-LABlab(11.96, -5.30, 13.53)
CIE-LCHlch(11.96, 14.53, 111.37°)
OKLaboklab(23.92% -0.0153 0.0354)
OKLCHoklch(23.92% 0.039 113.4)
XYZxyz(1.1637, 1.4010, 0.4962)
Luminance0.0140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F210A #0C0A21
analogous
#21170A #1F210A #13210A
triadic
#1F210A #0A1F21 #210A1F
tetradic
#1F210A #0A2117 #0C0A21 #210A13
square
#1F210A #0A2117 #0C0A21 #210A13
split-complementary
#1F210A #0A1321 #170A21
monochromatic
#161707 #161707 #1F210A #4B5018 #777F26

Accessibility & contrast

On white

16.40
#1F210A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1F210A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F210A
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F210A#FFFFFF#000000##FFFFFF
##1F210A1.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241F08
Deuteranopia (green-blind)
#24200B
Tritanopia (blue-blind)
#211F1C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1f210a;
/* rgb */ color: rgb(31, 33, 10);
/* oklch */ color: oklch(23.9% 0.039 113.4);
Tailwind
colors: {
  custom: {
    50: '#5b5c4b',
    500: '#1f210a',
    950: '#000000',
  },
}
SCSS
$custom: #1f210a;
$custom-light: #5b5c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f210a",
  "rgb": {
    "r": 31,
    "g": 33,
    "b": 10
  },
  "hsl": {
    "h": 65.217,
    "s": 53.488,
    "l": 8.431
  },
  "oklch": {
    "l": 0.23923,
    "c": 0.03855,
    "h": 113.4
  },
  "luminance": 0.01401
}

Semantic roles & 50–950 ramp

primary
#1F210A
secondary
#2F2A5D
accent
#4BDD58
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #1F210A

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

Preview Lab → · Contrast checker → · Palette generator →

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