#1E2002#1E2002

#1E2002 is a very dark, muted yellow. Relative luminance 0.013; OKLCH L 23.4% C 0.049 H 113.2°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#1E2002
RGBrgb(30, 32, 2)
HSLhsl(64, 88%, 7%)
HSVhsv(64, 94%, 13%)
CMYKcmyk(6.2%, 0%, 93.8%, 87.5%)
CIE-LABlab(11.37, -6.16, 15.96)
CIE-LCHlch(11.37, 17.10, 111.10°)
OKLaboklab(23.38% -0.0192 0.0449)
OKLCHoklch(23.38% 0.049 113.2)
XYZxyz(1.0629, 1.3134, 0.2549)
Luminance0.0131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2002 #040220
analogous
#201302 #1E2002 #0F2002
triadic
#1E2002 #021E20 #20021E
tetradic
#1E2002 #022013 #040220 #20020F
square
#1E2002 #022013 #040220 #20020F
split-complementary
#1E2002 #020F20 #130220
monochromatic
#1B1D02 #1B1D02 #1E2002 #545A06 #8A9309

Accessibility & contrast

On white

16.63
#1E2002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1E2002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2002
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2002#FFFFFF#000000##FFFFFF
##1E20021.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E00
Deuteranopia (green-blind)
#231F03
Tritanopia (blue-blind)
#211D1A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1e2002;
/* rgb */ color: rgb(30, 32, 2);
/* oklch */ color: oklch(23.4% 0.049 113.2);
Tailwind
colors: {
  custom: {
    50: '#5a5b47',
    500: '#1e2002',
    950: '#000000',
  },
}
SCSS
$custom: #1e2002;
$custom-light: #5a5b47;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2002",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 2
  },
  "hsl": {
    "h": 64,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.23383,
    "c": 0.04883,
    "h": 113.2
  },
  "luminance": 0.01313
}

Semantic roles & 50–950 ramp

primary
#1E2002
secondary
#1D1866
accent
#29FE38
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #1E2002

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

Preview Lab → · Contrast checker → · Palette generator →

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