#E5D752#E5D752

#E5D752 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.6% C 0.151 H 103.3°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#E5D752
RGBrgb(229, 215, 82)
HSLhsl(54, 74%, 61%)
HSVhsv(54, 64%, 90%)
CMYKcmyk(0%, 6.1%, 64.2%, 10.2%)
CIE-LABlab(84.93, -10.61, 65.00)
CIE-LCHlch(84.93, 65.86, 99.27°)
OKLaboklab(86.65% -0.0348 0.1471)
OKLCHoklch(86.65% 0.151 103.3)
XYZxyz(58.1388, 65.8703, 17.6328)
Luminance0.6587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D752 #5260E5
analogous
#E58D52 #E5D752 #A9E552
triadic
#E5D752 #52E5D7 #D752E5
tetradic
#E5D752 #52E58D #5260E5 #E552A9
square
#E5D752 #52E58D #5260E5 #E552A9
split-complementary
#E5D752 #52A9E5 #8D52E5
monochromatic
#A49719 #D9C821 #E5D752 #EDE387 #F5F0BC

Accessibility & contrast

On white

1.48
#E5D752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.17
#E5D752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D752
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D752#FFFFFF#000000##000000
##E5D7521.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D041
Deuteranopia (green-blind)
#EED75A
Tritanopia (blue-blind)
#F5C9BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e5d752;
/* rgb */ color: rgb(229, 215, 82);
/* oklch */ color: oklch(86.6% 0.151 103.3);
Tailwind
colors: {
  custom: {
    50: '#f1e389',
    500: '#e5d752',
    950: '#000000',
  },
}
SCSS
$custom: #e5d752;
$custom-light: #f1e389;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d752",
  "rgb": {
    "r": 229,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 54.286,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.86645,
    "c": 0.15119,
    "h": 103.3
  },
  "luminance": 0.65868
}

Semantic roles & 50–950 ramp

primary
#E5D752
secondary
#3540A6
accent
#22D610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5D752

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

Preview Lab → · Contrast checker → · Palette generator →

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