#E7D071#E7D071

#E7D071 is a very light, moderate yellow. Relative luminance 0.633; OKLCH L 85.7% C 0.118 H 96.1°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#E7D071
RGBrgb(231, 208, 113)
HSLhsl(48, 71%, 67%)
HSVhsv(48, 51%, 91%)
CMYKcmyk(0%, 10%, 51.1%, 9.4%)
CIE-LABlab(83.60, -4.00, 49.65)
CIE-LCHlch(83.60, 49.81, 94.61°)
OKLaboklab(85.73% -0.0125 0.1178)
OKLCHoklch(85.73% 0.118 96.1)
XYZxyz(58.4935, 63.2953, 24.7557)
Luminance0.6329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D071 #7188E7
analogous
#E79571 #E7D071 #C3E771
triadic
#E7D071 #71E7D0 #D071E7
tetradic
#E7D071 #71E795 #7188E7 #E771C3
square
#E7D071 #71E795 #7188E7 #E771C3
split-complementary
#E7D071 #71C3E7 #9571E7
monochromatic
#BE9F20 #DEBF3D #E7D071 #F0E1A5 #F9F3DA

Accessibility & contrast

On white

1.54
#E7D071 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#E7D071 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D071
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D071#FFFFFF#000000##000000
##E7D0711.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC69
Deuteranopia (green-blind)
#E7D475
Tritanopia (blue-blind)
#F6C3BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e7d071;
/* rgb */ color: rgb(231, 208, 113);
/* oklch */ color: oklch(85.7% 0.118 96.1);
Tailwind
colors: {
  custom: {
    50: '#f1de9c',
    500: '#e7d071',
    950: '#000000',
  },
}
SCSS
$custom: #e7d071;
$custom-light: #f1de9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d071",
  "rgb": {
    "r": 231,
    "g": 208,
    "b": 113
  },
  "hsl": {
    "h": 48.305,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.85726,
    "c": 0.11844,
    "h": 96.1
  },
  "luminance": 0.63293
}

Semantic roles & 50–950 ramp

primary
#E7D071
secondary
#3F58BD
accent
#38D312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D071

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

Preview Lab → · Contrast checker → · Palette generator →

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