#E5DD4F#E5DD4F

#E5DD4F is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 87.9% C 0.159 H 106.1°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#E5DD4F
RGBrgb(229, 221, 79)
HSLhsl(57, 74%, 60%)
HSVhsv(57, 66%, 90%)
CMYKcmyk(0%, 3.5%, 65.5%, 10.2%)
CIE-LABlab(86.47, -13.77, 67.81)
CIE-LCHlch(86.47, 69.19, 101.48°)
OKLaboklab(87.87% -0.044 0.1526)
OKLCHoklch(87.87% 0.159 106.1)
XYZxyz(59.5830, 68.9375, 17.5633)
Luminance0.6894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DD4F #4F57E5
analogous
#E5924F #E5DD4F #A2E54F
triadic
#E5DD4F #4FE5DD #DD4FE5
tetradic
#E5DD4F #4FE592 #4F57E5 #E54FA2
square
#E5DD4F #4FE592 #4F57E5 #E54FA2
split-complementary
#E5DD4F #4FA2E5 #924FE5
monochromatic
#A29A18 #D7CD20 #E5DD4F #EDE784 #F5F2BA

Accessibility & contrast

On white

1.42
#E5DD4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.79
#E5DD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5DD4F
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5DD4F#FFFFFF#000000##000000
##E5DD4F1.001.4214.7914.79
#FFFFFF1.421.0021.0021.00
#00000014.7921.001.001.00
##00000014.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53B
Deuteranopia (green-blind)
#F3DB58
Tritanopia (blue-blind)
#F5CFC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e5dd4f;
/* rgb */ color: rgb(229, 221, 79);
/* oklch */ color: oklch(87.9% 0.159 106.1);
Tailwind
colors: {
  custom: {
    50: '#f1e787',
    500: '#e5dd4f',
    950: '#000000',
  },
}
SCSS
$custom: #e5dd4f;
$custom-light: #f1e787;
$custom-dark: #000000;
JSON
{
  "hex": "#e5dd4f",
  "rgb": {
    "r": 229,
    "g": 221,
    "b": 79
  },
  "hsl": {
    "h": 56.8,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.87865,
    "c": 0.15883,
    "h": 106.1
  },
  "luminance": 0.68935
}

Semantic roles & 50–950 ramp

primary
#E5DD4F
secondary
#343AA4
accent
#1AD60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E5DD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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