#E1DC4D#E1DC4D

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

Color values

HEX#E1DC4D
RGBrgb(225, 220, 77)
HSLhsl(58, 71%, 59%)
HSVhsv(58, 66%, 88%)
CMYKcmyk(0%, 2.2%, 65.8%, 11.8%)
CIE-LABlab(85.87, -15.04, 67.87)
CIE-LCHlch(85.87, 69.51, 102.50°)
OKLaboklab(87.3% -0.0476 0.1525)
OKLCHoklch(87.3% 0.16 107.3)
XYZxyz(57.9862, 67.7317, 17.0388)
Luminance0.6773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DC4D #4D52E1
analogous
#E1924D #E1DC4D #9CE14D
triadic
#E1DC4D #4DE1DC #DC4DE1
tetradic
#E1DC4D #4DE192 #4D52E1 #E14D9C
square
#E1DC4D #4DE192 #4D52E1 #E14D9C
split-complementary
#E1DC4D #4D9CE1 #924DE1
monochromatic
#9A951A #CEC823 #E1DC4D #EAE681 #F3F1B6

Accessibility & contrast

On white

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

On black

14.55
#E1DC4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DC4D
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DC4D#FFFFFF#000000##000000
##E1DC4D1.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e1dc4d;
/* rgb */ color: rgb(225, 220, 77);
/* oklch */ color: oklch(87.3% 0.160 107.3);
Tailwind
colors: {
  custom: {
    50: '#eee686',
    500: '#e1dc4d',
    950: '#000000',
  },
}
SCSS
$custom: #e1dc4d;
$custom-light: #eee686;
$custom-dark: #000000;
JSON
{
  "hex": "#e1dc4d",
  "rgb": {
    "r": 225,
    "g": 220,
    "b": 77
  },
  "hsl": {
    "h": 57.973,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.87303,
    "c": 0.15978,
    "h": 107.3
  },
  "luminance": 0.6773
}

Semantic roles & 50–950 ramp

primary
#E1DC4D
secondary
#35389D
accent
#40EE3A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E1DC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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