#1E2012#1E2012

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

Color values

HEX#1E2012
RGBrgb(30, 32, 18)
HSLhsl(69, 28%, 10%)
HSVhsv(69, 44%, 13%)
CMYKcmyk(6.2%, 0%, 43.8%, 87.5%)
CIE-LABlab(11.64, -3.98, 9.02)
CIE-LCHlch(11.64, 9.86, 113.80°)
OKLaboklab(23.69% -0.0107 0.0229)
OKLCHoklch(23.69% 0.025 115)
XYZxyz(1.1611, 1.3527, 0.7721)
Luminance0.0135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2012 #141220
analogous
#201B12 #1E2012 #172012
triadic
#1E2012 #121E20 #20121E
tetradic
#1E2012 #12201B #141220 #201217
square
#1E2012 #12201B #141220 #201217
split-complementary
#1E2012 #121720 #1B1220
monochromatic
#12140B #12140B #1E2012 #434728 #676E3E

Accessibility & contrast

On white

16.53
#1E2012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2012
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2012#FFFFFF#000000##FFFFFF
##1E20121.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221F11
Deuteranopia (green-blind)
#221F13
Tritanopia (blue-blind)
#201E1C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1e2012;
/* rgb */ color: rgb(30, 32, 18);
/* oklch */ color: oklch(23.7% 0.025 115.0);
Tailwind
colors: {
  custom: {
    50: '#5a5b50',
    500: '#1e2012',
    950: '#000000',
  },
}
SCSS
$custom: #1e2012;
$custom-light: #5a5b50;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2012",
  "rgb": {
    "r": 30,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 68.571,
    "s": 28,
    "l": 9.804
  },
  "oklch": {
    "l": 0.23686,
    "c": 0.0253,
    "h": 115
  },
  "luminance": 0.01353
}

Semantic roles & 50–950 ramp

primary
#1E2012
secondary
#3D3955
accent
#63C471
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#030402
muted
#787978

Preview Lab

Preview with #1E2012

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

Preview Lab → · Contrast checker → · Palette generator →

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