#E1DF5B#E1DF5B

#E1DF5B is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 88.1% C 0.152 H 108.3°. Best body text is #000000 at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#E1DF5B
RGBrgb(225, 223, 91)
HSLhsl(59, 69%, 62%)
HSVhsv(59, 60%, 88%)
CMYKcmyk(0%, 0.9%, 59.6%, 11.8%)
CIE-LABlab(86.77, -15.66, 63.14)
CIE-LCHlch(86.77, 65.05, 103.93°)
OKLaboklab(88.06% -0.0479 0.1446)
OKLCHoklch(88.06% 0.152 108.3)
XYZxyz(59.3292, 69.5399, 20.1928)
Luminance0.6954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DF5B #5B5DE1
analogous
#E19C5B #E1DF5B #A0E15B
triadic
#E1DF5B #5BE1DF #DF5BE1
tetradic
#E1DF5B #5BE19C #5B5DE1 #E15BA0
square
#E1DF5B #5BE19C #5B5DE1 #E15BA0
split-complementary
#E1DF5B #5BA0E1 #9C5BE1
monochromatic
#A4A21E #D7D527 #E1DF5B #EAE98F #F4F3C2

Accessibility & contrast

On white

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

On black

14.91
#E1DF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DF5B
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DF5B#FFFFFF#000000##000000
##E1DF5B1.001.4114.9114.91
#FFFFFF1.411.0021.0021.00
#00000014.9121.001.001.00
##00000014.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e1df5b;
/* rgb */ color: rgb(225, 223, 91);
/* oklch */ color: oklch(88.1% 0.152 108.3);
Tailwind
colors: {
  custom: {
    50: '#ede88f',
    500: '#e1df5b',
    950: '#000000',
  },
}
SCSS
$custom: #e1df5b;
$custom-light: #ede88f;
$custom-dark: #000000;
JSON
{
  "hex": "#e1df5b",
  "rgb": {
    "r": 225,
    "g": 223,
    "b": 91
  },
  "hsl": {
    "h": 59.104,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.88055,
    "c": 0.1523,
    "h": 108.3
  },
  "luminance": 0.69538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E1DF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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