#E5D772#E5D772

#E5D772 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 87.0% C 0.124 H 101.5°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#E5D772
RGBrgb(229, 215, 114)
HSLhsl(53, 69%, 67%)
HSVhsv(53, 50%, 90%)
CMYKcmyk(0%, 6.1%, 50.2%, 10.2%)
CIE-LABlab(85.24, -8.28, 51.10)
CIE-LCHlch(85.24, 51.77, 99.21°)
OKLaboklab(86.99% -0.0246 0.1211)
OKLCHoklch(86.99% 0.124 101.5)
XYZxyz(59.6525, 66.4758, 25.6052)
Luminance0.6647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D772 #7280E5
analogous
#E59E72 #E5D772 #B9E572
triadic
#E5D772 #72E5D7 #D772E5
tetradic
#E5D772 #72E59E #7280E5 #E572B9
square
#E5D772 #72E59E #7280E5 #E572B9
split-complementary
#E5D772 #72B9E5 #9E72E5
monochromatic
#BAA822 #DBC83E #E5D772 #EFE6A6 #F8F4D9

Accessibility & contrast

On white

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

On black

14.29
#E5D772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D772
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D772#FFFFFF#000000##000000
##E5D7721.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D169
Deuteranopia (green-blind)
#EBD877
Tritanopia (blue-blind)
#F4CBC0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e5d772;
/* rgb */ color: rgb(229, 215, 114);
/* oklch */ color: oklch(87.0% 0.124 101.5);
Tailwind
colors: {
  custom: {
    50: '#efe39d',
    500: '#e5d772',
    950: '#000000',
  },
}
SCSS
$custom: #e5d772;
$custom-light: #efe39d;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d772",
  "rgb": {
    "r": 229,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 52.696,
    "s": 68.862,
    "l": 67.255
  },
  "oklch": {
    "l": 0.86989,
    "c": 0.12356,
    "h": 101.5
  },
  "luminance": 0.66474
}

Semantic roles & 50–950 ramp

primary
#E5D772
secondary
#4150BA
accent
#2CD115
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E5D772

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

Preview Lab → · Contrast checker → · Palette generator →

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