#E1DC5C#E1DC5C

#E1DC5C 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.59:1 contrast (WCAG AA passes).

Color values

HEX#E1DC5C
RGBrgb(225, 220, 92)
HSLhsl(58, 69%, 62%)
HSVhsv(58, 59%, 88%)
CMYKcmyk(0%, 2.2%, 59.1%, 11.8%)
CIE-LABlab(85.99, -14.11, 61.86)
CIE-LCHlch(85.99, 63.45, 102.85°)
OKLaboklab(87.44% -0.0434 0.142)
OKLCHoklch(87.44% 0.148 107)
XYZxyz(58.5782, 67.9685, 20.1567)
Luminance0.6797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DC5C #5C61E1
analogous
#E1995C #E1DC5C #A4E15C
triadic
#E1DC5C #5CE1DC #DC5CE1
tetradic
#E1DC5C #5CE199 #5C61E1 #E15CA4
square
#E1DC5C #5CE199 #5C61E1 #E15CA4
split-complementary
#E1DC5C #5CA4E1 #995CE1
monochromatic
#A49F1E #D7D128 #E1DC5C #EBE790 #F4F2C3

Accessibility & contrast

On white

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

On black

14.59
#E1DC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DC5C
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DC5C#FFFFFF#000000##000000
##E1DC5C1.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e1dc5c;
/* rgb */ color: rgb(225, 220, 92);
/* oklch */ color: oklch(87.4% 0.148 107.0);
Tailwind
colors: {
  custom: {
    50: '#ede68f',
    500: '#e1dc5c',
    950: '#000000',
  },
}
SCSS
$custom: #e1dc5c;
$custom-light: #ede68f;
$custom-dark: #000000;
JSON
{
  "hex": "#e1dc5c",
  "rgb": {
    "r": 225,
    "g": 220,
    "b": 92
  },
  "hsl": {
    "h": 57.744,
    "s": 68.912,
    "l": 62.157
  },
  "oklch": {
    "l": 0.87436,
    "c": 0.14847,
    "h": 107
  },
  "luminance": 0.67967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E1DC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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