#E7D960#E7D960

#E7D960 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.4% C 0.142 H 102.7°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#E7D960
RGBrgb(231, 217, 96)
HSLhsl(54, 74%, 64%)
HSVhsv(54, 58%, 91%)
CMYKcmyk(0%, 6.1%, 58.4%, 9.4%)
CIE-LABlab(85.74, -9.88, 59.98)
CIE-LCHlch(85.74, 60.79, 99.36°)
OKLaboklab(87.36% -0.0313 0.1383)
OKLCHoklch(87.36% 0.142 102.7)
XYZxyz(59.8813, 67.4614, 20.9311)
Luminance0.6746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D960 #606EE7
analogous
#E79660 #E7D960 #B2E760
triadic
#E7D960 #60E7D9 #D960E7
tetradic
#E7D960 #60E796 #606EE7 #E760B2
square
#E7D960 #60E796 #606EE7 #E760B2
split-complementary
#E7D960 #60B2E7 #9660E7
monochromatic
#B2A21B #DFCC2B #E7D960 #EFE695 #F7F2CA

Accessibility & contrast

On white

1.45
#E7D960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.49
#E7D960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D960
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D960#FFFFFF#000000##000000
##E7D9601.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD353
Deuteranopia (green-blind)
#EFD966
Tritanopia (blue-blind)
#F7CBBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d960;
/* rgb */ color: rgb(231, 217, 96);
/* oklch */ color: oklch(87.4% 0.142 102.7);
Tailwind
colors: {
  custom: {
    50: '#f1e491',
    500: '#e7d960',
    950: '#000000',
  },
}
SCSS
$custom: #e7d960;
$custom-light: #f1e491;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d960",
  "rgb": {
    "r": 231,
    "g": 217,
    "b": 96
  },
  "hsl": {
    "h": 53.778,
    "s": 73.77,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87364,
    "c": 0.14183,
    "h": 102.7
  },
  "luminance": 0.67459
}

Semantic roles & 50–950 ramp

primary
#E7D960
secondary
#3945B2
accent
#24D610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D960

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

Preview Lab → · Contrast checker → · Palette generator →

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