#E7D671#E7D671

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

Color values

HEX#E7D671
RGBrgb(231, 214, 113)
HSLhsl(51, 71%, 67%)
HSVhsv(51, 51%, 91%)
CMYKcmyk(0%, 7.4%, 51.1%, 9.4%)
CIE-LABlab(85.14, -7.06, 51.50)
CIE-LCHlch(85.14, 51.98, 97.80°)
OKLaboklab(86.95% -0.0213 0.1218)
OKLCHoklch(86.95% 0.124 99.9)
XYZxyz(59.9841, 66.2765, 25.2525)
Luminance0.6627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D671 #7182E7
analogous
#E79B71 #E7D671 #BDE771
triadic
#E7D671 #71E7D6 #D671E7
tetradic
#E7D671 #71E79B #7182E7 #E771BD
square
#E7D671 #71E79B #7182E7 #E771BD
split-complementary
#E7D671 #71BDE7 #9B71E7
monochromatic
#BEA720 #DEC73D #E7D671 #F0E5A5 #F9F4DA

Accessibility & contrast

On white

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

On black

14.25
#E7D671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D671
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D671#FFFFFF#000000##000000
##E7D6711.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d671;
/* rgb */ color: rgb(231, 214, 113);
/* oklch */ color: oklch(86.9% 0.124 99.9);
Tailwind
colors: {
  custom: {
    50: '#f1e29c',
    500: '#e7d671',
    950: '#000000',
  },
}
SCSS
$custom: #e7d671;
$custom-light: #f1e29c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d671",
  "rgb": {
    "r": 231,
    "g": 214,
    "b": 113
  },
  "hsl": {
    "h": 51.356,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.86945,
    "c": 0.12367,
    "h": 99.9
  },
  "luminance": 0.66274
}

Semantic roles & 50–950 ramp

primary
#E7D671
secondary
#3F51BD
accent
#2ED312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D671

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

Preview Lab → · Contrast checker → · Palette generator →

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