#E7DC56#E7DC56

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

Color values

HEX#E7DC56
RGBrgb(231, 220, 86)
HSLhsl(55, 75%, 62%)
HSVhsv(55, 63%, 91%)
CMYKcmyk(0%, 4.8%, 62.8%, 9.4%)
CIE-LABlab(86.43, -12.04, 65.00)
CIE-LCHlch(86.43, 66.11, 100.49°)
OKLaboklab(87.89% -0.0385 0.1477)
OKLCHoklch(87.89% 0.153 104.6)
XYZxyz(60.2301, 68.8494, 18.9189)
Luminance0.6885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DC56 #5661E7
analogous
#E79356 #E7DC56 #AAE756
triadic
#E7DC56 #56E7DC #DC56E7
tetradic
#E7DC56 #56E793 #5661E7 #E756AA
square
#E7DC56 #56E793 #5661E7 #E756AA
split-complementary
#E7DC56 #56AAE7 #9356E7
monochromatic
#AA9F18 #DFD120 #E7DC56 #EFE78C #F6F2C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7DC56#FFFFFF#000000##000000
##E7DC561.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)
#EED545
Deuteranopia (green-blind)
#F2DB5E
Tritanopia (blue-blind)
#F7CEC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7dc56;
/* rgb */ color: rgb(231, 220, 86);
/* oklch */ color: oklch(87.9% 0.153 104.6);
Tailwind
colors: {
  custom: {
    50: '#f2e68b',
    500: '#e7dc56',
    950: '#000000',
  },
}
SCSS
$custom: #e7dc56;
$custom-light: #f2e68b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dc56",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 86
  },
  "hsl": {
    "h": 55.448,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.87887,
    "c": 0.15261,
    "h": 104.6
  },
  "luminance": 0.68847
}

Semantic roles & 50–950 ramp

primary
#E7DC56
secondary
#353EAC
accent
#1DD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7DC56

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

Preview Lab → · Contrast checker → · Palette generator →

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