#E4DF5F#E4DF5F

#E4DF5F 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#E4DF5F
RGBrgb(228, 223, 95)
HSLhsl(58, 71%, 63%)
HSVhsv(58, 58%, 89%)
CMYKcmyk(0%, 2.2%, 58.3%, 10.6%)
CIE-LABlab(87.04, -14.17, 61.80)
CIE-LCHlch(87.04, 63.40, 102.91°)
OKLaboklab(88.34% -0.0434 0.1422)
OKLCHoklch(88.34% 0.149 107)
XYZxyz(60.4500, 70.0974, 21.1701)
Luminance0.7010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DF5F #5F64E4
analogous
#E49C5F #E4DF5F #A6E45F
triadic
#E4DF5F #5FE4DF #DF5FE4
tetradic
#E4DF5F #5FE49C #5F64E4 #E45FA6
square
#E4DF5F #5FE49C #5F64E4 #E45FA6
split-complementary
#E4DF5F #5FA6E4 #9C5FE4
monochromatic
#ACA61D #DBD52B #E4DF5F #EDE993 #F6F4C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4DF5F#FFFFFF#000000##000000
##E4DF5F1.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)
#F0D751
Deuteranopia (green-blind)
#F3DC66
Tritanopia (blue-blind)
#F3D2C3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e4df5f;
/* rgb */ color: rgb(228, 223, 95);
/* oklch */ color: oklch(88.3% 0.149 107.0);
Tailwind
colors: {
  custom: {
    50: '#efe891',
    500: '#e4df5f',
    950: '#000000',
  },
}
SCSS
$custom: #e4df5f;
$custom-light: #efe891;
$custom-dark: #000000;
JSON
{
  "hex": "#e4df5f",
  "rgb": {
    "r": 228,
    "g": 223,
    "b": 95
  },
  "hsl": {
    "h": 57.744,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.88342,
    "c": 0.14865,
    "h": 107
  },
  "luminance": 0.70096
}

Semantic roles & 50–950 ramp

primary
#E4DF5F
secondary
#3A3EAD
accent
#1AD312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E4DF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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