#E7D754#E7D754

#E7D754 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.8% C 0.150 H 102.3°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#E7D754
RGBrgb(231, 215, 84)
HSLhsl(53, 75%, 62%)
HSVhsv(53, 64%, 91%)
CMYKcmyk(0%, 6.9%, 63.6%, 9.4%)
CIE-LABlab(85.11, -9.66, 64.43)
CIE-LCHlch(85.11, 65.15, 98.53°)
OKLaboklab(86.84% -0.032 0.1462)
OKLCHoklch(86.84% 0.15 102.3)
XYZxyz(58.8580, 66.2323, 18.0696)
Luminance0.6623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D754 #5464E7
analogous
#E78D54 #E7D754 #AEE754
triadic
#E7D754 #54E7D7 #D754E7
tetradic
#E7D754 #54E78D #5464E7 #E754AE
square
#E7D754 #54E78D #5464E7 #E754AE
split-complementary
#E7D754 #54AEE7 #8D54E7
monochromatic
#A99918 #DFCA1F #E7D754 #EFE48A #F6F0BF

Accessibility & contrast

On white

1.47
#E7D754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#E7D754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D754
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D754#FFFFFF#000000##000000
##E7D7541.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D144
Deuteranopia (green-blind)
#EED85B
Tritanopia (blue-blind)
#F8C9BC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e7d754;
/* rgb */ color: rgb(231, 215, 84);
/* oklch */ color: oklch(86.8% 0.150 102.3);
Tailwind
colors: {
  custom: {
    50: '#f2e38a',
    500: '#e7d754',
    950: '#000000',
  },
}
SCSS
$custom: #e7d754;
$custom-light: #f2e38a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d754",
  "rgb": {
    "r": 231,
    "g": 215,
    "b": 84
  },
  "hsl": {
    "h": 53.469,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.86837,
    "c": 0.14963,
    "h": 102.3
  },
  "luminance": 0.6623
}

Semantic roles & 50–950 ramp

primary
#E7D754
secondary
#3542AA
accent
#24D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7D754

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

Preview Lab → · Contrast checker → · Palette generator →

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