#E5D771#E5D771

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

Color values

HEX#E5D771
RGBrgb(229, 215, 113)
HSLhsl(53, 69%, 67%)
HSVhsv(53, 51%, 90%)
CMYKcmyk(0%, 6.1%, 50.7%, 10.2%)
CIE-LABlab(85.23, -8.37, 51.56)
CIE-LCHlch(85.23, 52.24, 99.22°)
OKLaboklab(86.98% -0.025 0.122)
OKLCHoklch(86.98% 0.125 101.6)
XYZxyz(59.5959, 66.4532, 25.3071)
Luminance0.6645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D771 #717FE5
analogous
#E59D71 #E5D771 #B9E571
triadic
#E5D771 #71E5D7 #D771E5
tetradic
#E5D771 #71E59D #717FE5 #E571B9
square
#E5D771 #71E59D #717FE5 #E571B9
split-complementary
#E5D771 #71B9E5 #9D71E5
monochromatic
#BAA722 #DCC83D #E5D771 #EEE6A5 #F8F4D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5D771#FFFFFF#000000##000000
##E5D7711.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)
#E7D168
Deuteranopia (green-blind)
#ECD876
Tritanopia (blue-blind)
#F4CBBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e5d771;
/* rgb */ color: rgb(229, 215, 113);
/* oklch */ color: oklch(87.0% 0.125 101.6);
Tailwind
colors: {
  custom: {
    50: '#efe39c',
    500: '#e5d771',
    950: '#000000',
  },
}
SCSS
$custom: #e5d771;
$custom-light: #efe39c;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d771",
  "rgb": {
    "r": 229,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 52.759,
    "s": 69.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86976,
    "c": 0.12453,
    "h": 101.6
  },
  "luminance": 0.66451
}

Semantic roles & 50–950 ramp

primary
#E5D771
secondary
#414FBA
accent
#2BD114
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E5D771

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

Preview Lab → · Contrast checker → · Palette generator →

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