#E5DC7E#E5DC7E

#E5DC7E is a very light, moderate yellow. Relative luminance 0.694; OKLCH L 88.2% C 0.116 H 103.7°. Best body text is #000000 at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#E5DC7E
RGBrgb(229, 220, 126)
HSLhsl(55, 66%, 70%)
HSVhsv(55, 45%, 90%)
CMYKcmyk(0%, 3.9%, 45%, 10.2%)
CIE-LABlab(86.68, -9.71, 47.07)
CIE-LCHlch(86.68, 48.07, 101.65°)
OKLaboklab(88.18% -0.0275 0.1131)
OKLCHoklch(88.18% 0.116 103.7)
XYZxyz(61.6736, 69.3525, 29.8722)
Luminance0.6935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DC7E #7E87E5
analogous
#E5A87E #E5DC7E #BBE57E
triadic
#E5DC7E #7EE5DC #DC7EE5
tetradic
#E5DC7E #7EE5A8 #7E87E5 #E57EBB
square
#E5DC7E #7EE5A8 #7E87E5 #E57EBB
split-complementary
#E5DC7E #7EBBE5 #A87EE5
monochromatic
#C2B427 #DBCE4B #E5DC7E #EFEAB1 #FAF8E4

Accessibility & contrast

On white

1.41
#E5DC7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.87
#E5DC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5DC7E
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5DC7E#FFFFFF#000000##000000
##E5DC7E1.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD676
Deuteranopia (green-blind)
#EEDB82
Tritanopia (blue-blind)
#F2D1C6
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e5dc7e;
/* rgb */ color: rgb(229, 220, 126);
/* oklch */ color: oklch(88.2% 0.116 103.7);
Tailwind
colors: {
  custom: {
    50: '#efe6a5',
    500: '#e5dc7e',
    950: '#000000',
  },
}
SCSS
$custom: #e5dc7e;
$custom-light: #efe6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#e5dc7e",
  "rgb": {
    "r": 229,
    "g": 220,
    "b": 126
  },
  "hsl": {
    "h": 54.757,
    "s": 66.452,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88178,
    "c": 0.11641,
    "h": 103.7
  },
  "luminance": 0.69351
}

Semantic roles & 50–950 ramp

primary
#E5DC7E
secondary
#4A54BD
accent
#27CE17
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E5DC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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