#E7DA56#E7DA56

#E7DA56 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.5% C 0.151 H 103.7°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#E7DA56
RGBrgb(231, 218, 86)
HSLhsl(55, 75%, 62%)
HSVhsv(55, 63%, 91%)
CMYKcmyk(0%, 5.6%, 62.8%, 9.4%)
CIE-LABlab(85.91, -11.04, 64.45)
CIE-LCHlch(85.91, 65.38, 99.72°)
OKLaboklab(87.47% -0.0357 0.1465)
OKLCHoklch(87.47% 0.151 103.7)
XYZxyz(59.7084, 67.8059, 18.7450)
Luminance0.6780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DA56 #5663E7
analogous
#E79256 #E7DA56 #ABE756
triadic
#E7DA56 #56E7DA #DA56E7
tetradic
#E7DA56 #56E792 #5663E7 #E756AB
square
#E7DA56 #56E792 #5663E7 #E756AB
split-complementary
#E7DA56 #56ABE7 #9256E7
monochromatic
#AA9D18 #DFCE20 #E7DA56 #EFE68C #F6F1C1

Accessibility & contrast

On white

1.44
#E7DA56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#E7DA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DA56
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DA56#FFFFFF#000000##000000
##E7DA561.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD346
Deuteranopia (green-blind)
#F1DA5E
Tritanopia (blue-blind)
#F7CCBE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e7da56;
/* rgb */ color: rgb(231, 218, 86);
/* oklch */ color: oklch(87.5% 0.151 103.7);
Tailwind
colors: {
  custom: {
    50: '#f2e58b',
    500: '#e7da56',
    950: '#000000',
  },
}
SCSS
$custom: #e7da56;
$custom-light: #f2e58b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7da56",
  "rgb": {
    "r": 231,
    "g": 218,
    "b": 86
  },
  "hsl": {
    "h": 54.621,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.87473,
    "c": 0.15077,
    "h": 103.7
  },
  "luminance": 0.67804
}

Semantic roles & 50–950 ramp

primary
#E7DA56
secondary
#3540AC
accent
#20D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7DA56

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

Preview Lab → · Contrast checker → · Palette generator →

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