#E7D454#E7D454

#E7D454 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.2% C 0.147 H 100.8°. Best body text is #000000 at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#E7D454
RGBrgb(231, 212, 84)
HSLhsl(52, 75%, 62%)
HSVhsv(52, 64%, 91%)
CMYKcmyk(0%, 8.2%, 63.6%, 9.4%)
CIE-LABlab(84.34, -8.15, 63.60)
CIE-LCHlch(84.34, 64.12, 97.30°)
OKLaboklab(86.22% -0.0277 0.1444)
OKLCHoklch(86.22% 0.147 100.8)
XYZxyz(58.1011, 64.7184, 17.8173)
Luminance0.6472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D454 #5467E7
analogous
#E78B54 #E7D454 #B1E754
triadic
#E7D454 #54E7D4 #D454E7
tetradic
#E7D454 #54E78B #5467E7 #E754B1
square
#E7D454 #54E78B #5467E7 #E754B1
split-complementary
#E7D454 #54B1E7 #8B54E7
monochromatic
#A99618 #DFC61F #E7D454 #EFE18A #F6EFBF

Accessibility & contrast

On white

1.51
#E7D454 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.94
#E7D454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D454
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D454#FFFFFF#000000##000000
##E7D4541.001.5113.9413.94
#FFFFFF1.511.0021.0021.00
#00000013.9421.001.001.00
##00000013.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE44
Deuteranopia (green-blind)
#ECD65B
Tritanopia (blue-blind)
#F8C6B9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e7d454;
/* rgb */ color: rgb(231, 212, 84);
/* oklch */ color: oklch(86.2% 0.147 100.8);
Tailwind
colors: {
  custom: {
    50: '#f2e08a',
    500: '#e7d454',
    950: '#000000',
  },
}
SCSS
$custom: #e7d454;
$custom-light: #f2e08a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d454",
  "rgb": {
    "r": 231,
    "g": 212,
    "b": 84
  },
  "hsl": {
    "h": 52.245,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.8622,
    "c": 0.14705,
    "h": 100.8
  },
  "luminance": 0.64716
}

Semantic roles & 50–950 ramp

primary
#E7D454
secondary
#3544AA
accent
#28D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7D454

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

Preview Lab → · Contrast checker → · Palette generator →

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