#1E1E02#1E1E02

#1E1E02 is a very dark, muted yellow. Relative luminance 0.012; OKLCH L 22.8% C 0.046 H 109.6°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#1E1E02
RGBrgb(30, 30, 2)
HSLhsl(60, 88%, 6%)
HSVhsv(60, 93%, 12%)
CMYKcmyk(0%, 0%, 93.3%, 88.2%)
CIE-LABlab(10.62, -4.81, 14.92)
CIE-LCHlch(10.62, 15.67, 107.86°)
OKLaboklab(22.79% -0.0154 0.0435)
OKLCHoklch(22.79% 0.046 109.6)
XYZxyz(1.0107, 1.2090, 0.2375)
Luminance0.0121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E1E02 #02021E
analogous
#1E1002 #1E1E02 #101E02
triadic
#1E1E02 #021E1E #1E021E
tetradic
#1E1E02 #021E10 #02021E #1E0210
square
#1E1E02 #021E10 #02021E #1E0210
split-complementary
#1E1E02 #02101E #10021E
monochromatic
#1D1D02 #1D1D02 #1E1E02 #575706 #91910A

Accessibility & contrast

On white

16.91
#1E1E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#1E1E02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E1E02
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E1E02#FFFFFF#000000##FFFFFF
##1E1E021.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C00
Deuteranopia (green-blind)
#221D03
Tritanopia (blue-blind)
#211B18
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1e1e02;
/* rgb */ color: rgb(30, 30, 2);
/* oklch */ color: oklch(22.8% 0.046 109.6);
Tailwind
colors: {
  custom: {
    50: '#595947',
    500: '#1e1e02',
    950: '#000000',
  },
}
SCSS
$custom: #1e1e02;
$custom-light: #595947;
$custom-dark: #000000;
JSON
{
  "hex": "#1e1e02",
  "rgb": {
    "r": 30,
    "g": 30,
    "b": 2
  },
  "hsl": {
    "h": 60,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.22787,
    "c": 0.04614,
    "h": 109.6
  },
  "luminance": 0.01209
}

Semantic roles & 50–950 ramp

primary
#1E1E02
secondary
#181864
accent
#2AFE2A
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#030300
muted
#787877

Preview Lab

Preview with #1E1E02

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

Preview Lab → · Contrast checker → · Palette generator →

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