#E7D970#E7D970

#E7D970 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.5% C 0.127 H 101.8°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#E7D970
RGBrgb(231, 217, 112)
HSLhsl(53, 71%, 67%)
HSVhsv(53, 52%, 91%)
CMYKcmyk(0%, 6.1%, 51.5%, 9.4%)
CIE-LABlab(85.90, -8.66, 52.87)
CIE-LCHlch(85.90, 53.58, 99.30°)
OKLaboklab(87.55% -0.026 0.1247)
OKLCHoklch(87.55% 0.127 101.8)
XYZxyz(60.6943, 67.7866, 25.2131)
Luminance0.6778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D970 #707EE7
analogous
#E79E70 #E7D970 #BAE770
triadic
#E7D970 #70E7D9 #D970E7
tetradic
#E7D970 #70E79E #707EE7 #E770BA
square
#E7D970 #70E79E #707EE7 #E770BA
split-complementary
#E7D970 #70BAE7 #9E70E7
monochromatic
#BDAA20 #DECB3C #E7D970 #F0E7A4 #F9F5D9

Accessibility & contrast

On white

1.44
#E7D970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#E7D970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D970
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D970#FFFFFF#000000##000000
##E7D9701.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD366
Deuteranopia (green-blind)
#EEDA75
Tritanopia (blue-blind)
#F6CCC1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e7d970;
/* rgb */ color: rgb(231, 217, 112);
/* oklch */ color: oklch(87.5% 0.127 101.8);
Tailwind
colors: {
  custom: {
    50: '#f1e49c',
    500: '#e7d970',
    950: '#000000',
  },
}
SCSS
$custom: #e7d970;
$custom-light: #f1e49c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d970",
  "rgb": {
    "r": 231,
    "g": 217,
    "b": 112
  },
  "hsl": {
    "h": 52.941,
    "s": 71.257,
    "l": 67.255
  },
  "oklch": {
    "l": 0.87546,
    "c": 0.12742,
    "h": 101.8
  },
  "luminance": 0.67784
}

Semantic roles & 50–950 ramp

primary
#E7D970
secondary
#3F4EBC
accent
#29D312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D970

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

Preview Lab → · Contrast checker → · Palette generator →

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