#1F210E#1F210E

#1F210E is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 24.0% C 0.033 H 113.8°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#1F210E
RGBrgb(31, 33, 14)
HSLhsl(66, 40%, 9%)
HSVhsv(66, 58%, 13%)
CMYKcmyk(6.1%, 0%, 57.6%, 87.1%)
CIE-LABlab(12.03, -4.77, 11.80)
CIE-LCHlch(12.03, 12.73, 112.01°)
OKLaboklab(24% -0.0133 0.0302)
OKLCHoklch(24% 0.033 113.8)
XYZxyz(1.1882, 1.4107, 0.6251)
Luminance0.0141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F210E #100E21
analogous
#211A0E #1F210E #16210E
triadic
#1F210E #0E1F21 #210E1F
tetradic
#1F210E #0E211A #100E21 #210E16
square
#1F210E #0E211A #100E21 #210E16
split-complementary
#1F210E #0E1621 #1A0E21
monochromatic
#141509 #141509 #1F210E #474C20 #707732

Accessibility & contrast

On white

16.38
#1F210E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F210E
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F210E#FFFFFF#000000##FFFFFF
##1F210E1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F0C
Deuteranopia (green-blind)
#23200F
Tritanopia (blue-blind)
#211F1C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1f210e;
/* rgb */ color: rgb(31, 33, 14);
/* oklch */ color: oklch(24.0% 0.033 113.8);
Tailwind
colors: {
  custom: {
    50: '#5a5c4d',
    500: '#1f210e',
    950: '#000000',
  },
}
SCSS
$custom: #1f210e;
$custom-light: #5a5c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f210e",
  "rgb": {
    "r": 31,
    "g": 33,
    "b": 14
  },
  "hsl": {
    "h": 66.316,
    "s": 40.426,
    "l": 9.216
  },
  "oklch": {
    "l": 0.23996,
    "c": 0.03302,
    "h": 113.8
  },
  "luminance": 0.01411
}

Semantic roles & 50–950 ramp

primary
#1F210E
secondary
#363259
accent
#58D064
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #1F210E

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

Preview Lab → · Contrast checker → · Palette generator →

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