#E7DA54#E7DA54

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

Color values

HEX#E7DA54
RGBrgb(231, 218, 84)
HSLhsl(55, 75%, 62%)
HSVhsv(55, 64%, 91%)
CMYKcmyk(0%, 5.6%, 63.6%, 9.4%)
CIE-LABlab(85.89, -11.16, 65.25)
CIE-LCHlch(85.89, 66.20, 99.71°)
OKLaboklab(87.46% -0.0362 0.1479)
OKLCHoklch(87.46% 0.152 103.8)
XYZxyz(59.6289, 67.7741, 18.3265)
Luminance0.6777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DA54 #5461E7
analogous
#E79154 #E7DA54 #ABE754
triadic
#E7DA54 #54E7DA #DA54E7
tetradic
#E7DA54 #54E791 #5461E7 #E754AB
square
#E7DA54 #54E791 #5461E7 #E754AB
split-complementary
#E7DA54 #54ABE7 #9154E7
monochromatic
#A99C18 #DFCE1F #E7DA54 #EFE68A #F6F1BF

Accessibility & contrast

On white

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

On black

14.55
#E7DA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DA54
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DA54#FFFFFF#000000##000000
##E7DA541.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7da54;
/* rgb */ color: rgb(231, 218, 84);
/* oklch */ color: oklch(87.5% 0.152 103.8);
Tailwind
colors: {
  custom: {
    50: '#f2e58a',
    500: '#e7da54',
    950: '#000000',
  },
}
SCSS
$custom: #e7da54;
$custom-light: #f2e58a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7da54",
  "rgb": {
    "r": 231,
    "g": 218,
    "b": 84
  },
  "hsl": {
    "h": 54.694,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.87456,
    "c": 0.15229,
    "h": 103.8
  },
  "luminance": 0.67772
}

Semantic roles & 50–950 ramp

primary
#E7DA54
secondary
#353FAA
accent
#20D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7DA54

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

Preview Lab → · Contrast checker → · Palette generator →

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