#E7DC5D#E7DC5D

#E7DC5D is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 88.0% C 0.147 H 104.4°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#E7DC5D
RGBrgb(231, 220, 93)
HSLhsl(55, 74%, 64%)
HSVhsv(55, 60%, 91%)
CMYKcmyk(0%, 4.8%, 59.7%, 9.4%)
CIE-LABlab(86.49, -11.59, 62.12)
CIE-LCHlch(86.49, 63.19, 100.57°)
OKLaboklab(87.95% -0.0365 0.1425)
OKLCHoklch(87.95% 0.147 104.4)
XYZxyz(60.5261, 68.9678, 20.4777)
Luminance0.6897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DC5D #5D68E7
analogous
#E7975D #E7DC5D #ADE75D
triadic
#E7DC5D #5DE7DC #DC5DE7
tetradic
#E7DC5D #5DE797 #5D68E7 #E75DAD
square
#E7DC5D #5DE797 #5D68E7 #E75DAD
split-complementary
#E7DC5D #5DADE7 #975DE7
monochromatic
#B0A41A #DFD028 #E7DC5D #EFE892 #F7F3C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7DC5D#FFFFFF#000000##000000
##E7DC5D1.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)
#EED54F
Deuteranopia (green-blind)
#F2DB64
Tritanopia (blue-blind)
#F7CEC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7dc5d;
/* rgb */ color: rgb(231, 220, 93);
/* oklch */ color: oklch(88.0% 0.147 104.4);
Tailwind
colors: {
  custom: {
    50: '#f2e690',
    500: '#e7dc5d',
    950: '#000000',
  },
}
SCSS
$custom: #e7dc5d;
$custom-light: #f2e690;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dc5d",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 93
  },
  "hsl": {
    "h": 55.217,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.87952,
    "c": 0.14711,
    "h": 104.4
  },
  "luminance": 0.68966
}

Semantic roles & 50–950 ramp

primary
#E7DC5D
secondary
#3841B0
accent
#1FD60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7DC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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