#1E2104#1E2104

#1E2104 is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 23.7% C 0.047 H 114.9°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#1E2104
RGBrgb(30, 33, 4)
HSLhsl(66, 78%, 7%)
HSVhsv(66, 88%, 13%)
CMYKcmyk(9.1%, 0%, 87.9%, 87.1%)
CIE-LABlab(11.77, -6.57, 15.70)
CIE-LCHlch(11.77, 17.02, 112.72°)
OKLaboklab(23.72% -0.0199 0.0428)
OKLCHoklch(23.72% 0.047 114.9)
XYZxyz(1.1012, 1.3725, 0.3218)
Luminance0.0137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2104 #070421
analogous
#211604 #1E2104 #102104
triadic
#1E2104 #041E21 #21041E
tetradic
#1E2104 #042116 #070421 #210410
square
#1E2104 #042116 #070421 #210410
split-complementary
#1E2104 #041021 #160421
monochromatic
#191B03 #191B03 #1E2104 #50580B #818E11

Accessibility & contrast

On white

16.48
#1E2104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2104
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2104#FFFFFF#000000##FFFFFF
##1E21041.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241F02
Deuteranopia (green-blind)
#241F06
Tritanopia (blue-blind)
#211E1B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1e2104;
/* rgb */ color: rgb(30, 33, 4);
/* oklch */ color: oklch(23.7% 0.047 114.9);
Tailwind
colors: {
  custom: {
    50: '#5a5c48',
    500: '#1e2104',
    950: '#000000',
  },
}
SCSS
$custom: #1e2104;
$custom-light: #5a5c48;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2104",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 4
  },
  "hsl": {
    "h": 66.207,
    "s": 78.378,
    "l": 7.255
  },
  "oklch": {
    "l": 0.23717,
    "c": 0.04719,
    "h": 114.9
  },
  "luminance": 0.01372
}

Semantic roles & 50–950 ramp

primary
#1E2104
secondary
#241D64
accent
#33F547
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #1E2104

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

Preview Lab → · Contrast checker → · Palette generator →

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