#E1DF5A#E1DF5A

#E1DF5A is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 88.0% C 0.153 H 108.4°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#E1DF5A
RGBrgb(225, 223, 90)
HSLhsl(59, 69%, 62%)
HSVhsv(59, 60%, 88%)
CMYKcmyk(0%, 0.9%, 60%, 11.8%)
CIE-LABlab(86.76, -15.73, 63.55)
CIE-LCHlch(86.76, 65.47, 103.90°)
OKLaboklab(88.05% -0.0482 0.1453)
OKLCHoklch(88.05% 0.153 108.4)
XYZxyz(59.2863, 69.5228, 19.9671)
Luminance0.6952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DF5A #5A5CE1
analogous
#E19C5A #E1DF5A #A0E15A
triadic
#E1DF5A #5AE1DF #DF5AE1
tetradic
#E1DF5A #5AE19C #5A5CE1 #E15AA0
square
#E1DF5A #5AE19C #5A5CE1 #E15AA0
split-complementary
#E1DF5A #5AA0E1 #9C5AE1
monochromatic
#A3A11E #D7D427 #E1DF5A #EAE98E #F4F3C2

Accessibility & contrast

On white

1.41
#E1DF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.90
#E1DF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DF5A
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DF5A#FFFFFF#000000##000000
##E1DF5A1.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D74A
Deuteranopia (green-blind)
#F2DB62
Tritanopia (blue-blind)
#F0D2C3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e1df5a;
/* rgb */ color: rgb(225, 223, 90);
/* oklch */ color: oklch(88.0% 0.153 108.4);
Tailwind
colors: {
  custom: {
    50: '#ede88e',
    500: '#e1df5a',
    950: '#000000',
  },
}
SCSS
$custom: #e1df5a;
$custom-light: #ede88e;
$custom-dark: #000000;
JSON
{
  "hex": "#e1df5a",
  "rgb": {
    "r": 225,
    "g": 223,
    "b": 90
  },
  "hsl": {
    "h": 59.111,
    "s": 69.231,
    "l": 61.765
  },
  "oklch": {
    "l": 0.88045,
    "c": 0.15309,
    "h": 108.4
  },
  "luminance": 0.69521
}

Semantic roles & 50–950 ramp

primary
#E1DF5A
secondary
#3A3BA6
accent
#17D114
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E1DF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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