#E7DC5B#E7DC5B

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

Color values

HEX#E7DC5B
RGBrgb(231, 220, 91)
HSLhsl(55, 74%, 63%)
HSVhsv(55, 61%, 91%)
CMYKcmyk(0%, 4.8%, 60.6%, 9.4%)
CIE-LABlab(86.47, -11.72, 62.95)
CIE-LCHlch(86.47, 64.03, 100.55°)
OKLaboklab(87.93% -0.0371 0.144)
OKLCHoklch(87.93% 0.149 104.4)
XYZxyz(60.4387, 68.9328, 20.0172)
Luminance0.6893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DC5B #5B66E7
analogous
#E7965B #E7DC5B #ACE75B
triadic
#E7DC5B #5BE7DC #DC5BE7
tetradic
#E7DC5B #5BE796 #5B66E7 #E75BAC
square
#E7DC5B #5BE796 #5B66E7 #E75BAC
split-complementary
#E7DC5B #5BACE7 #965BE7
monochromatic
#AEA219 #DFD126 #E7DC5B #EFE790 #F7F3C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7DC5B#FFFFFF#000000##000000
##E7DC5B1.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)
#EED54C
Deuteranopia (green-blind)
#F2DB62
Tritanopia (blue-blind)
#F7CEC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7dc5b;
/* rgb */ color: rgb(231, 220, 91);
/* oklch */ color: oklch(87.9% 0.149 104.4);
Tailwind
colors: {
  custom: {
    50: '#f2e68e',
    500: '#e7dc5b',
    950: '#000000',
  },
}
SCSS
$custom: #e7dc5b;
$custom-light: #f2e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dc5b",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 91
  },
  "hsl": {
    "h": 55.286,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.87933,
    "c": 0.14872,
    "h": 104.4
  },
  "luminance": 0.68931
}

Semantic roles & 50–950 ramp

primary
#E7DC5B
secondary
#3741AF
accent
#1FD70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7DC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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