#E5DF7C#E5DF7C

#E5DF7C is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.8% C 0.122 H 105.5°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#E5DF7C
RGBrgb(229, 223, 124)
HSLhsl(57, 67%, 69%)
HSVhsv(57, 46%, 90%)
CMYKcmyk(0%, 2.6%, 45.9%, 10.2%)
CIE-LABlab(87.43, -11.40, 48.97)
CIE-LCHlch(87.43, 50.28, 103.11°)
OKLaboklab(88.77% -0.0326 0.1172)
OKLCHoklch(88.77% 0.122 105.5)
XYZxyz(62.3403, 70.8903, 29.4642)
Luminance0.7089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DF7C #7C82E5
analogous
#E5AB7C #E5DF7C #B7E57C
triadic
#E5DF7C #7CE5DF #DF7CE5
tetradic
#E5DF7C #7CE5AB #7C82E5 #E57CB7
square
#E5DF7C #7CE5AB #7C82E5 #E57CB7
split-complementary
#E5DF7C #7CB7E5 #AB7CE5
monochromatic
#C0B826 #DBD349 #E5DF7C #EFEBAF #F9F8E2

Accessibility & contrast

On white

1.38
#E5DF7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.18
#E5DF7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5DF7C
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5DF7C#FFFFFF#000000##000000
##E5DF7C1.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED874
Deuteranopia (green-blind)
#F1DD81
Tritanopia (blue-blind)
#F2D4C8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e5df7c;
/* rgb */ color: rgb(229, 223, 124);
/* oklch */ color: oklch(88.8% 0.122 105.5);
Tailwind
colors: {
  custom: {
    50: '#efe8a4',
    500: '#e5df7c',
    950: '#000000',
  },
}
SCSS
$custom: #e5df7c;
$custom-light: #efe8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e5df7c",
  "rgb": {
    "r": 229,
    "g": 223,
    "b": 124
  },
  "hsl": {
    "h": 56.571,
    "s": 66.879,
    "l": 69.216
  },
  "oklch": {
    "l": 0.88769,
    "c": 0.12162,
    "h": 105.5
  },
  "luminance": 0.70889
}

Semantic roles & 50–950 ramp

primary
#E5DF7C
secondary
#484FBD
accent
#21CF17
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #E5DF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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