#1E2102#1E2102

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

Color values

HEX#1E2102
RGBrgb(30, 33, 2)
HSLhsl(66, 89%, 7%)
HSVhsv(66, 94%, 13%)
CMYKcmyk(9.1%, 0%, 93.9%, 87.1%)
CIE-LABlab(11.74, -6.82, 16.47)
CIE-LCHlch(11.74, 17.83, 112.49°)
OKLaboklab(23.68% -0.021 0.0456)
OKLCHoklch(23.68% 0.05 114.8)
XYZxyz(1.0903, 1.3681, 0.2641)
Luminance0.0137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2102 #050221
analogous
#211502 #1E2102 #0F2102
triadic
#1E2102 #021E21 #21021E
tetradic
#1E2102 #022115 #050221 #21020F
square
#1E2102 #022115 #050221 #21020F
split-complementary
#1E2102 #020F21 #150221
monochromatic
#1A1D02 #1A1D02 #1E2102 #525B05 #879409

Accessibility & contrast

On white

16.49
#1E2102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2102
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2102#FFFFFF#000000##FFFFFF
##1E21021.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e2102;
/* rgb */ color: rgb(30, 33, 2);
/* oklch */ color: oklch(23.7% 0.050 114.8);
Tailwind
colors: {
  custom: {
    50: '#5a5c47',
    500: '#1e2102',
    950: '#000000',
  },
}
SCSS
$custom: #1e2102;
$custom-light: #5a5c47;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2102",
  "rgb": {
    "r": 30,
    "g": 33,
    "b": 2
  },
  "hsl": {
    "h": 65.806,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.23684,
    "c": 0.05024,
    "h": 114.8
  },
  "luminance": 0.01368
}

Semantic roles & 50–950 ramp

primary
#1E2102
secondary
#201867
accent
#29FF3E
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #1E2102

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

Preview Lab → · Contrast checker → · Palette generator →

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