#E5DF5F#E5DF5F

#E5DF5F is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.4% C 0.149 H 106.6°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#E5DF5F
RGBrgb(229, 223, 95)
HSLhsl(57, 72%, 64%)
HSVhsv(57, 59%, 90%)
CMYKcmyk(0%, 2.6%, 58.5%, 10.2%)
CIE-LABlab(87.13, -13.76, 61.91)
CIE-LCHlch(87.13, 63.42, 102.53°)
OKLaboklab(88.43% -0.0423 0.1424)
OKLCHoklch(88.43% 0.149 106.6)
XYZxyz(60.7683, 70.2615, 21.1850)
Luminance0.7026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DF5F #5F65E5
analogous
#E59C5F #E5DF5F #A8E55F
triadic
#E5DF5F #5FE5DF #DF5FE5
tetradic
#E5DF5F #5FE59C #5F65E5 #E55FA8
square
#E5DF5F #5FE59C #5F65E5 #E55FA8
split-complementary
#E5DF5F #5FA8E5 #9C5FE5
monochromatic
#ADA71C #DCD42A #E5DF5F #EEEA94 #F6F4C8

Accessibility & contrast

On white

1.40
#E5DF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.05
#E5DF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5DF5F
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5DF5F#FFFFFF#000000##000000
##E5DF5F1.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D751
Deuteranopia (green-blind)
#F3DD66
Tritanopia (blue-blind)
#F4D2C3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e5df5f;
/* rgb */ color: rgb(229, 223, 95);
/* oklch */ color: oklch(88.4% 0.149 106.6);
Tailwind
colors: {
  custom: {
    50: '#f0e891',
    500: '#e5df5f',
    950: '#000000',
  },
}
SCSS
$custom: #e5df5f;
$custom-light: #f0e891;
$custom-dark: #000000;
JSON
{
  "hex": "#e5df5f",
  "rgb": {
    "r": 229,
    "g": 223,
    "b": 95
  },
  "hsl": {
    "h": 57.313,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.88426,
    "c": 0.14854,
    "h": 106.6
  },
  "luminance": 0.7026
}

Semantic roles & 50–950 ramp

primary
#E5DF5F
secondary
#3A3FAF
accent
#1AD411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E5DF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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