#E7DC57#E7DC57

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

Color values

HEX#E7DC57
RGBrgb(231, 220, 87)
HSLhsl(55, 75%, 62%)
HSVhsv(55, 62%, 91%)
CMYKcmyk(0%, 4.8%, 62.3%, 9.4%)
CIE-LABlab(86.44, -11.98, 64.59)
CIE-LCHlch(86.44, 65.70, 100.51°)
OKLaboklab(87.9% -0.0382 0.147)
OKLCHoklch(87.9% 0.152 104.6)
XYZxyz(60.2707, 68.8656, 19.1326)
Luminance0.6886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DC57 #5762E7
analogous
#E79457 #E7DC57 #AAE757
triadic
#E7DC57 #57E7DC #DC57E7
tetradic
#E7DC57 #57E794 #5762E7 #E757AA
square
#E7DC57 #57E794 #5762E7 #E757AA
split-complementary
#E7DC57 #57AAE7 #9457E7
monochromatic
#ABA018 #DFD121 #E7DC57 #EFE78D #F6F2C2

Accessibility & contrast

On white

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

On black

14.77
#E7DC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DC57
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DC57#FFFFFF#000000##000000
##E7DC571.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7dc57;
/* rgb */ color: rgb(231, 220, 87);
/* oklch */ color: oklch(87.9% 0.152 104.6);
Tailwind
colors: {
  custom: {
    50: '#f2e68c',
    500: '#e7dc57',
    950: '#000000',
  },
}
SCSS
$custom: #e7dc57;
$custom-light: #f2e68c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dc57",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 87
  },
  "hsl": {
    "h": 55.417,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.87896,
    "c": 0.15184,
    "h": 104.6
  },
  "luminance": 0.68863
}

Semantic roles & 50–950 ramp

primary
#E7DC57
secondary
#363FAC
accent
#1ED70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7DC57

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

Preview Lab → · Contrast checker → · Palette generator →

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