#1E1802#1E1802

#1E1802 is a very dark, muted yellow. Relative luminance 0.009; OKLCH L 21.0% C 0.039 H 95.2°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#1E1802
RGBrgb(30, 24, 2)
HSLhsl(47, 88%, 6%)
HSVhsv(47, 93%, 12%)
CMYKcmyk(0%, 20%, 93.3%, 88.2%)
CIE-LABlab(8.43, -0.57, 11.79)
CIE-LCHlch(8.43, 11.80, 92.77°)
OKLaboklab(21.04% -0.0035 0.0392)
OKLCHoklch(21.04% 0.039 95.2)
XYZxyz(0.8731, 0.9337, 0.1917)
Luminance0.0093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1802 #02081E
analogous
#1E0A02 #1E1802 #161E02
triadic
#1E1802 #021E18 #18021E
tetradic
#1E1802 #021E0A #02081E #1E0216
square
#1E1802 #021E0A #02081E #1E0216
split-complementary
#1E1802 #02161E #0A021E
monochromatic
#1D1702 #1D1702 #1E1802 #574606 #91740A

Accessibility & contrast

On white

17.69
#1E1802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1E1802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1802
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1802#FFFFFF#000000##FFFFFF
##1E18021.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1700
Deuteranopia (green-blind)
#1D1903
Tritanopia (blue-blind)
#211513
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1e1802;
/* rgb */ color: rgb(30, 24, 2);
/* oklch */ color: oklch(21.0% 0.039 95.2);
Tailwind
colors: {
  custom: {
    50: '#595447',
    500: '#1e1802',
    950: '#000000',
  },
}
SCSS
$custom: #1e1802;
$custom-light: #595447;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1802",
  "rgb": {
    "r": 30,
    "g": 24,
    "b": 2
  },
  "hsl": {
    "h": 47.143,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.2104,
    "c": 0.03937,
    "h": 95.2
  },
  "luminance": 0.00934
}

Semantic roles & 50–950 ramp

primary
#1E1802
secondary
#182864
accent
#57FE2A
background
#F5F4F4
surface
#E9E7E6
border
#C5C3C2
text
#030200
muted
#787877

Preview Lab

Preview with #1E1802

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

Preview Lab → · Contrast checker → · Palette generator →

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