#E4DF5C#E4DF5C

#E4DF5C is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.3% C 0.151 H 107.1°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#E4DF5C
RGBrgb(228, 223, 92)
HSLhsl(58, 72%, 63%)
HSVhsv(58, 60%, 89%)
CMYKcmyk(0%, 2.2%, 59.6%, 10.6%)
CIE-LABlab(87.02, -14.37, 63.05)
CIE-LCHlch(87.02, 64.67, 102.84°)
OKLaboklab(88.31% -0.0443 0.1444)
OKLCHoklch(88.31% 0.151 107.1)
XYZxyz(60.3163, 70.0439, 20.4657)
Luminance0.7004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DF5C #5C61E4
analogous
#E49B5C #E4DF5C #A5E45C
triadic
#E4DF5C #5CE4DF #DF5CE4
tetradic
#E4DF5C #5CE49B #5C61E4 #E45CA5
square
#E4DF5C #5CE49B #5C61E4 #E45CA5
split-complementary
#E4DF5C #5CA5E4 #9B5CE4
monochromatic
#AAA41C #DBD527 #E4DF5C #EDE991 #F5F4C5

Accessibility & contrast

On white

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

On black

15.01
#E4DF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DF5C
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DF5C#FFFFFF#000000##000000
##E4DF5C1.001.4015.0115.01
#FFFFFF1.401.0021.0021.00
#00000015.0121.001.001.00
##00000015.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D74D
Deuteranopia (green-blind)
#F3DC64
Tritanopia (blue-blind)
#F3D2C3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e4df5c;
/* rgb */ color: rgb(228, 223, 92);
/* oklch */ color: oklch(88.3% 0.151 107.1);
Tailwind
colors: {
  custom: {
    50: '#efe88f',
    500: '#e4df5c',
    950: '#000000',
  },
}
SCSS
$custom: #e4df5c;
$custom-light: #efe88f;
$custom-dark: #000000;
JSON
{
  "hex": "#e4df5c",
  "rgb": {
    "r": 228,
    "g": 223,
    "b": 92
  },
  "hsl": {
    "h": 57.794,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.88313,
    "c": 0.15109,
    "h": 107.1
  },
  "luminance": 0.70042
}

Semantic roles & 50–950 ramp

primary
#E4DF5C
secondary
#393DAB
accent
#19D412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E4DF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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