#E7DC59#E7DC59

#E7DC59 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#E7DC59
RGBrgb(231, 220, 89)
HSLhsl(55, 75%, 63%)
HSVhsv(55, 61%, 91%)
CMYKcmyk(0%, 4.8%, 61.5%, 9.4%)
CIE-LABlab(86.45, -11.85, 63.78)
CIE-LCHlch(86.45, 64.87, 100.53°)
OKLaboklab(87.91% -0.0377 0.1455)
OKLCHoklch(87.91% 0.15 104.5)
XYZxyz(60.3535, 68.8987, 19.5689)
Luminance0.6890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DC59 #5964E7
analogous
#E79559 #E7DC59 #ABE759
triadic
#E7DC59 #59E7DC #DC59E7
tetradic
#E7DC59 #59E795 #5964E7 #E759AB
square
#E7DC59 #59E795 #5964E7 #E759AB
split-complementary
#E7DC59 #59ABE7 #9559E7
monochromatic
#ADA119 #DFD124 #E7DC59 #EFE78E #F6F3C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7DC59#FFFFFF#000000##000000
##E7DC591.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)
#EED54A
Deuteranopia (green-blind)
#F2DB60
Tritanopia (blue-blind)
#F7CEC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7dc59;
/* rgb */ color: rgb(231, 220, 89);
/* oklch */ color: oklch(87.9% 0.150 104.5);
Tailwind
colors: {
  custom: {
    50: '#f2e68d',
    500: '#e7dc59',
    950: '#000000',
  },
}
SCSS
$custom: #e7dc59;
$custom-light: #f2e68d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dc59",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 89
  },
  "hsl": {
    "h": 55.352,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.87914,
    "c": 0.1503,
    "h": 104.5
  },
  "luminance": 0.68897
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7DC59

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

Preview Lab → · Contrast checker → · Palette generator →

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