#E1DC5D#E1DC5D

#E1DC5D is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.4% C 0.148 H 107.0°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#E1DC5D
RGBrgb(225, 220, 93)
HSLhsl(58, 69%, 62%)
HSVhsv(58, 59%, 88%)
CMYKcmyk(0%, 2.2%, 58.7%, 11.8%)
CIE-LABlab(86.00, -14.04, 61.44)
CIE-LCHlch(86.00, 63.03, 102.88°)
OKLaboklab(87.45% -0.0431 0.1412)
OKLCHoklch(87.45% 0.148 107)
XYZxyz(58.6222, 67.9861, 20.3884)
Luminance0.6798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DC5D #5D62E1
analogous
#E19A5D #E1DC5D #A4E15D
triadic
#E1DC5D #5DE1DC #DC5DE1
tetradic
#E1DC5D #5DE19A #5D62E1 #E15DA4
square
#E1DC5D #5DE19A #5D62E1 #E15DA4
split-complementary
#E1DC5D #5DA4E1 #9A5DE1
monochromatic
#A5A01F #D7D129 #E1DC5D #EBE791 #F4F2C4

Accessibility & contrast

On white

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

On black

14.60
#E1DC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DC5D
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DC5D#FFFFFF#000000##000000
##E1DC5D1.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44F
Deuteranopia (green-blind)
#F0D964
Tritanopia (blue-blind)
#F0CFC1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e1dc5d;
/* rgb */ color: rgb(225, 220, 93);
/* oklch */ color: oklch(87.4% 0.148 107.0);
Tailwind
colors: {
  custom: {
    50: '#ede690',
    500: '#e1dc5d',
    950: '#000000',
  },
}
SCSS
$custom: #e1dc5d;
$custom-light: #ede690;
$custom-dark: #000000;
JSON
{
  "hex": "#e1dc5d",
  "rgb": {
    "r": 225,
    "g": 220,
    "b": 93
  },
  "hsl": {
    "h": 57.727,
    "s": 68.75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.87446,
    "c": 0.14764,
    "h": 107
  },
  "luminance": 0.67984
}

Semantic roles & 50–950 ramp

primary
#E1DC5D
secondary
#3B3FA8
accent
#1CD115
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E1DC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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