#1D2202#1D2202

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

Color values

HEX#1D2202
RGBrgb(29, 34, 2)
HSLhsl(69, 89%, 7%)
HSVhsv(69, 94%, 13%)
CMYKcmyk(14.7%, 0%, 94.1%, 86.7%)
CIE-LABlab(12.02, -8.04, 16.84)
CIE-LCHlch(12.02, 18.66, 115.53°)
OKLaboklab(23.88% -0.0243 0.0461)
OKLCHoklch(23.88% 0.052 117.8)
XYZxyz(1.0897, 1.4097, 0.2721)
Luminance0.0141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2202 #070222
analogous
#221702 #1D2202 #0D2202
triadic
#1D2202 #021D22 #22021D
tetradic
#1D2202 #022217 #070222 #22020D
square
#1D2202 #022217 #070222 #22020D
split-complementary
#1D2202 #020D22 #170222
monochromatic
#191D02 #191D02 #1D2202 #4E5C05 #809609

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D2202#FFFFFF#000000##FFFFFF
##1D22021.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)
#251F00
Deuteranopia (green-blind)
#252004
Tritanopia (blue-blind)
#201F1C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1d2202;
/* rgb */ color: rgb(29, 34, 2);
/* oklch */ color: oklch(23.9% 0.052 117.8);
Tailwind
colors: {
  custom: {
    50: '#595d47',
    500: '#1d2202',
    950: '#000000',
  },
}
SCSS
$custom: #1d2202;
$custom-light: #595d47;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2202",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 2
  },
  "hsl": {
    "h": 69.375,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.23882,
    "c": 0.05213,
    "h": 117.8
  },
  "luminance": 0.0141
}

Semantic roles & 50–950 ramp

primary
#1D2202
secondary
#251868
accent
#29FF4A
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #1D2202

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

Preview Lab → · Contrast checker → · Palette generator →

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