#E7DC71#E7DC71

#E7DC71 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.2% C 0.129 H 103.4°. Best body text is #000000 at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#E7DC71
RGBrgb(231, 220, 113)
HSLhsl(54, 71%, 67%)
HSVhsv(54, 51%, 91%)
CMYKcmyk(0%, 4.8%, 51.1%, 9.4%)
CIE-LABlab(86.69, -10.08, 53.34)
CIE-LCHlch(86.69, 54.28, 100.70°)
OKLaboklab(88.17% -0.03 0.1258)
OKLCHoklch(88.17% 0.129 103.4)
XYZxyz(61.5306, 69.3696, 25.7681)
Luminance0.6937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DC71 #717CE7
analogous
#E7A171 #E7DC71 #B7E771
triadic
#E7DC71 #71E7DC #DC71E7
tetradic
#E7DC71 #71E7A1 #717CE7 #E771B7
square
#E7DC71 #71E7A1 #717CE7 #E771B7
split-complementary
#E7DC71 #71B7E7 #A171E7
monochromatic
#BEAF20 #DECF3D #E7DC71 #F0E9A5 #F9F6DA

Accessibility & contrast

On white

1.41
#E7DC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.87
#E7DC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DC71
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DC71#FFFFFF#000000##000000
##E7DC711.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD667
Deuteranopia (green-blind)
#F0DC76
Tritanopia (blue-blind)
#F6D0C3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e7dc71;
/* rgb */ color: rgb(231, 220, 113);
/* oklch */ color: oklch(88.2% 0.129 103.4);
Tailwind
colors: {
  custom: {
    50: '#f1e69c',
    500: '#e7dc71',
    950: '#000000',
  },
}
SCSS
$custom: #e7dc71;
$custom-light: #f1e69c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dc71",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 113
  },
  "hsl": {
    "h": 54.407,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.88174,
    "c": 0.12937,
    "h": 103.4
  },
  "luminance": 0.69368
}

Semantic roles & 50–950 ramp

primary
#E7DC71
secondary
#3F4BBD
accent
#24D312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7DC71

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

Preview Lab → · Contrast checker → · Palette generator →

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