#E1DC4B#E1DC4B

#E1DC4B is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.3% C 0.161 H 107.4°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#E1DC4B
RGBrgb(225, 220, 75)
HSLhsl(58, 71%, 59%)
HSVhsv(58, 67%, 88%)
CMYKcmyk(0%, 2.2%, 66.7%, 11.8%)
CIE-LABlab(85.86, -15.15, 68.62)
CIE-LCHlch(85.86, 70.27, 102.45°)
OKLaboklab(87.29% -0.0481 0.1538)
OKLCHoklch(87.29% 0.161 107.4)
XYZxyz(57.9166, 67.7038, 16.6726)
Luminance0.6770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DC4B #4B50E1
analogous
#E1914B #E1DC4B #9BE14B
triadic
#E1DC4B #4BE1DC #DC4BE1
tetradic
#E1DC4B #4BE191 #4B50E1 #E14B9B
square
#E1DC4B #4BE191 #4B50E1 #E14B9B
split-complementary
#E1DC4B #4B9BE1 #914BE1
monochromatic
#989419 #CDC722 #E1DC4B #EAE67F #F2F0B4

Accessibility & contrast

On white

1.44
#E1DC4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.54
#E1DC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DC4B
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DC4B#FFFFFF#000000##000000
##E1DC4B1.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED436
Deuteranopia (green-blind)
#F1D955
Tritanopia (blue-blind)
#F1CEBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e1dc4b;
/* rgb */ color: rgb(225, 220, 75);
/* oklch */ color: oklch(87.3% 0.161 107.4);
Tailwind
colors: {
  custom: {
    50: '#eee685',
    500: '#e1dc4b',
    950: '#000000',
  },
}
SCSS
$custom: #e1dc4b;
$custom-light: #eee685;
$custom-dark: #000000;
JSON
{
  "hex": "#e1dc4b",
  "rgb": {
    "r": 225,
    "g": 220,
    "b": 75
  },
  "hsl": {
    "h": 58,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.87288,
    "c": 0.16115,
    "h": 107.4
  },
  "luminance": 0.67702
}

Semantic roles & 50–950 ramp

primary
#E1DC4B
secondary
#34389C
accent
#40EE3A
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #E1DC4B

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

Preview Lab → · Contrast checker → · Palette generator →

#E1DC4B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva