#E4D771#E4D771

#E4D771 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.9% C 0.125 H 102.1°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#E4D771
RGBrgb(228, 215, 113)
HSLhsl(53, 68%, 67%)
HSVhsv(53, 50%, 89%)
CMYKcmyk(0%, 5.7%, 50.4%, 10.6%)
CIE-LABlab(85.14, -8.77, 51.44)
CIE-LCHlch(85.14, 52.19, 99.68°)
OKLaboklab(86.89% -0.0261 0.1218)
OKLCHoklch(86.89% 0.125 102.1)
XYZxyz(59.2777, 66.2891, 25.2921)
Luminance0.6629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D771 #717EE4
analogous
#E49E71 #E4D771 #B8E471
triadic
#E4D771 #71E4D7 #D771E4
tetradic
#E4D771 #71E49E #717EE4 #E471B8
square
#E4D771 #71E49E #717EE4 #E471B8
split-complementary
#E4D771 #71B8E4 #9E71E4
monochromatic
#B8A723 #DAC93E #E4D771 #EEE5A4 #F8F4D8

Accessibility & contrast

On white

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

On black

14.26
#E4D771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D771
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D771#FFFFFF#000000##000000
##E4D7711.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D168
Deuteranopia (green-blind)
#EBD776
Tritanopia (blue-blind)
#F3CBBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e4d771;
/* rgb */ color: rgb(228, 215, 113);
/* oklch */ color: oklch(86.9% 0.125 102.1);
Tailwind
colors: {
  custom: {
    50: '#efe39c',
    500: '#e4d771',
    950: '#000000',
  },
}
SCSS
$custom: #e4d771;
$custom-light: #efe39c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d771",
  "rgb": {
    "r": 228,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 53.217,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.8689,
    "c": 0.12451,
    "h": 102.1
  },
  "luminance": 0.66287
}

Semantic roles & 50–950 ramp

primary
#E4D771
secondary
#414FB8
accent
#2BD016
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4D771

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

Preview Lab → · Contrast checker → · Palette generator →

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