#E7DC5F#E7DC5F

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

Color values

HEX#E7DC5F
RGBrgb(231, 220, 95)
HSLhsl(55, 74%, 64%)
HSVhsv(55, 59%, 91%)
CMYKcmyk(0%, 4.8%, 58.9%, 9.4%)
CIE-LABlab(86.51, -11.46, 61.27)
CIE-LCHlch(86.51, 62.33, 100.59°)
OKLaboklab(87.97% -0.0359 0.141)
OKLCHoklch(87.97% 0.145 104.3)
XYZxyz(60.6158, 69.0037, 20.9503)
Luminance0.6900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DC5F #5F6AE7
analogous
#E7985F #E7DC5F #AEE75F
triadic
#E7DC5F #5FE7DC #DC5FE7
tetradic
#E7DC5F #5FE798 #5F6AE7 #E75FAE
square
#E7DC5F #5FE798 #5F6AE7 #E75FAE
split-complementary
#E7DC5F #5FAEE7 #985FE7
monochromatic
#B1A51B #DFD02A #E7DC5F #EFE894 #F7F3C9

Accessibility & contrast

On white

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

On black

14.80
#E7DC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DC5F
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DC5F#FFFFFF#000000##000000
##E7DC5F1.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED551
Deuteranopia (green-blind)
#F1DB66
Tritanopia (blue-blind)
#F7CEC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7dc5f;
/* rgb */ color: rgb(231, 220, 95);
/* oklch */ color: oklch(88.0% 0.145 104.3);
Tailwind
colors: {
  custom: {
    50: '#f1e691',
    500: '#e7dc5f',
    950: '#000000',
  },
}
SCSS
$custom: #e7dc5f;
$custom-light: #f1e691;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dc5f",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 95
  },
  "hsl": {
    "h": 55.147,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.87972,
    "c": 0.14546,
    "h": 104.3
  },
  "luminance": 0.69002
}

Semantic roles & 50–950 ramp

primary
#E7DC5F
secondary
#3942B2
accent
#20D60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7DC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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