#E7DB56#E7DB56

#E7DB56 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.7% C 0.152 H 104.2°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#E7DB56
RGBrgb(231, 219, 86)
HSLhsl(55, 75%, 62%)
HSVhsv(55, 63%, 91%)
CMYKcmyk(0%, 5.2%, 62.8%, 9.4%)
CIE-LABlab(86.17, -11.54, 64.72)
CIE-LCHlch(86.17, 65.74, 100.11°)
OKLaboklab(87.68% -0.0371 0.1471)
OKLCHoklch(87.68% 0.152 104.2)
XYZxyz(59.9685, 68.3261, 18.8317)
Luminance0.6832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DB56 #5662E7
analogous
#E79256 #E7DB56 #ABE756
triadic
#E7DB56 #56E7DB #DB56E7
tetradic
#E7DB56 #56E792 #5662E7 #E756AB
square
#E7DB56 #56E792 #5662E7 #E756AB
split-complementary
#E7DB56 #56ABE7 #9256E7
monochromatic
#AA9E18 #DFD020 #E7DB56 #EFE68C #F6F2C1

Accessibility & contrast

On white

1.43
#E7DB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.66
#E7DB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DB56
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DB56#FFFFFF#000000##000000
##E7DB561.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD446
Deuteranopia (green-blind)
#F1DA5E
Tritanopia (blue-blind)
#F7CDBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7db56;
/* rgb */ color: rgb(231, 219, 86);
/* oklch */ color: oklch(87.7% 0.152 104.2);
Tailwind
colors: {
  custom: {
    50: '#f2e58b',
    500: '#e7db56',
    950: '#000000',
  },
}
SCSS
$custom: #e7db56;
$custom-light: #f2e58b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7db56",
  "rgb": {
    "r": 231,
    "g": 219,
    "b": 86
  },
  "hsl": {
    "h": 55.034,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.8768,
    "c": 0.15169,
    "h": 104.2
  },
  "luminance": 0.68324
}

Semantic roles & 50–950 ramp

primary
#E7DB56
secondary
#353FAC
accent
#1FD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7DB56

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

Preview Lab → · Contrast checker → · Palette generator →

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