#E1D771#E1D771

#E1D771 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.6% C 0.125 H 103.7°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#E1D771
RGBrgb(225, 215, 113)
HSLhsl(55, 65%, 66%)
HSVhsv(55, 50%, 88%)
CMYKcmyk(0%, 4.4%, 49.8%, 11.8%)
CIE-LABlab(84.90, -9.98, 51.09)
CIE-LCHlch(84.90, 52.05, 101.06°)
OKLaboklab(86.63% -0.0294 0.121)
OKLCHoklch(86.63% 0.125 103.7)
XYZxyz(58.3340, 65.8025, 25.2479)
Luminance0.6580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1D771 #717BE1
analogous
#E19F71 #E1D771 #B3E171
triadic
#E1D771 #71E1D7 #D771E1
tetradic
#E1D771 #71E19F #717BE1 #E171B3
square
#E1D771 #71E19F #717BE1 #E171B3
split-complementary
#E1D771 #71B3E1 #9F71E1
monochromatic
#B2A526 #D6C93E #E1D771 #ECE5A4 #F6F3D6

Accessibility & contrast

On white

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

On black

14.16
#E1D771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1D771
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1D771#FFFFFF#000000##000000
##E1D7711.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D168
Deuteranopia (green-blind)
#EAD676
Tritanopia (blue-blind)
#EFCBBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e1d771;
/* rgb */ color: rgb(225, 215, 113);
/* oklch */ color: oklch(86.6% 0.125 103.7);
Tailwind
colors: {
  custom: {
    50: '#ece39c',
    500: '#e1d771',
    950: '#000000',
  },
}
SCSS
$custom: #e1d771;
$custom-light: #ece39c;
$custom-dark: #000000;
JSON
{
  "hex": "#e1d771",
  "rgb": {
    "r": 225,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 54.643,
    "s": 65.116,
    "l": 66.275
  },
  "oklch": {
    "l": 0.86633,
    "c": 0.12454,
    "h": 103.7
  },
  "luminance": 0.65801
}

Semantic roles & 50–950 ramp

primary
#E1D771
secondary
#434DB3
accent
#29CD19
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E1D771

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

Preview Lab → · Contrast checker → · Palette generator →

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