#E7DC5A#E7DC5A

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

Color values

HEX#E7DC5A
RGBrgb(231, 220, 90)
HSLhsl(55, 75%, 63%)
HSVhsv(55, 61%, 91%)
CMYKcmyk(0%, 4.8%, 61%, 9.4%)
CIE-LABlab(86.46, -11.79, 63.37)
CIE-LCHlch(86.46, 64.45, 100.54°)
OKLaboklab(87.92% -0.0374 0.1448)
OKLCHoklch(87.92% 0.15 104.5)
XYZxyz(60.3958, 68.9157, 19.7915)
Luminance0.6891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DC5A #5A65E7
analogous
#E7955A #E7DC5A #ABE75A
triadic
#E7DC5A #5AE7DC #DC5AE7
tetradic
#E7DC5A #5AE795 #5A65E7 #E75AAB
square
#E7DC5A #5AE795 #5A65E7 #E75AAB
split-complementary
#E7DC5A #5AABE7 #955AE7
monochromatic
#ADA219 #DFD125 #E7DC5A #EFE78F #F7F3C5

Accessibility & contrast

On white

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

On black

14.78
#E7DC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DC5A
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DC5A#FFFFFF#000000##000000
##E7DC5A1.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED54B
Deuteranopia (green-blind)
#F2DB61
Tritanopia (blue-blind)
#F7CEC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7dc5a;
/* rgb */ color: rgb(231, 220, 90);
/* oklch */ color: oklch(87.9% 0.150 104.5);
Tailwind
colors: {
  custom: {
    50: '#f2e68e',
    500: '#e7dc5a',
    950: '#000000',
  },
}
SCSS
$custom: #e7dc5a;
$custom-light: #f2e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dc5a",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 90
  },
  "hsl": {
    "h": 55.319,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.87924,
    "c": 0.14952,
    "h": 104.5
  },
  "luminance": 0.68914
}

Semantic roles & 50–950 ramp

primary
#E7DC5A
secondary
#3740AE
accent
#1ED70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7DC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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