#E4DF5E#E4DF5E

#E4DF5E is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.3% C 0.149 H 107.0°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#E4DF5E
RGBrgb(228, 223, 94)
HSLhsl(58, 71%, 63%)
HSVhsv(58, 59%, 89%)
CMYKcmyk(0%, 2.2%, 58.8%, 10.6%)
CIE-LABlab(87.04, -14.24, 62.22)
CIE-LCHlch(87.04, 63.83, 102.89°)
OKLaboklab(88.33% -0.0437 0.1429)
OKLCHoklch(88.33% 0.149 107)
XYZxyz(60.4049, 70.0793, 20.9323)
Luminance0.7008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DF5E #5E63E4
analogous
#E49C5E #E4DF5E #A6E45E
triadic
#E4DF5E #5EE4DF #DF5EE4
tetradic
#E4DF5E #5EE49C #5E63E4 #E45EA6
square
#E4DF5E #5EE49C #5E63E4 #E45EA6
split-complementary
#E4DF5E #5EA6E4 #9C5EE4
monochromatic
#ABA61D #DBD52A #E4DF5E #EDE992 #F6F4C7

Accessibility & contrast

On white

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

On black

15.02
#E4DF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DF5E
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DF5E#FFFFFF#000000##000000
##E4DF5E1.001.4015.0215.02
#FFFFFF1.401.0021.0021.00
#00000015.0221.001.001.00
##00000015.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4df5e;
/* rgb */ color: rgb(228, 223, 94);
/* oklch */ color: oklch(88.3% 0.149 107.0);
Tailwind
colors: {
  custom: {
    50: '#efe890',
    500: '#e4df5e',
    950: '#000000',
  },
}
SCSS
$custom: #e4df5e;
$custom-light: #efe890;
$custom-dark: #000000;
JSON
{
  "hex": "#e4df5e",
  "rgb": {
    "r": 228,
    "g": 223,
    "b": 94
  },
  "hsl": {
    "h": 57.761,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.88332,
    "c": 0.14947,
    "h": 107
  },
  "luminance": 0.70077
}

Semantic roles & 50–950 ramp

primary
#E4DF5E
secondary
#3A3EAD
accent
#19D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E4DF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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