#E7D560#E7D560

#E7D560 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.5% C 0.138 H 100.6°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#E7D560
RGBrgb(231, 213, 96)
HSLhsl(52, 74%, 64%)
HSVhsv(52, 58%, 91%)
CMYKcmyk(0%, 7.8%, 58.4%, 9.4%)
CIE-LABlab(84.70, -7.87, 58.82)
CIE-LCHlch(84.70, 59.35, 97.62°)
OKLaboklab(86.54% -0.0255 0.1359)
OKLCHoklch(86.54% 0.138 100.6)
XYZxyz(58.8628, 65.4243, 20.5916)
Luminance0.6542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D560 #6072E7
analogous
#E79260 #E7D560 #B6E760
triadic
#E7D560 #60E7D5 #D560E7
tetradic
#E7D560 #60E792 #6072E7 #E760B6
square
#E7D560 #60E792 #6072E7 #E760B6
split-complementary
#E7D560 #60B6E7 #9260E7
monochromatic
#B29E1B #DFC72B #E7D560 #EFE395 #F7F1CA

Accessibility & contrast

On white

1.49
#E7D560 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.08
#E7D560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D560
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D560#FFFFFF#000000##000000
##E7D5601.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF54
Deuteranopia (green-blind)
#ECD766
Tritanopia (blue-blind)
#F7C7BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e7d560;
/* rgb */ color: rgb(231, 213, 96);
/* oklch */ color: oklch(86.5% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#f1e191',
    500: '#e7d560',
    950: '#000000',
  },
}
SCSS
$custom: #e7d560;
$custom-light: #f1e191;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d560",
  "rgb": {
    "r": 231,
    "g": 213,
    "b": 96
  },
  "hsl": {
    "h": 52,
    "s": 73.77,
    "l": 64.118
  },
  "oklch": {
    "l": 0.86543,
    "c": 0.13825,
    "h": 100.6
  },
  "luminance": 0.65422
}

Semantic roles & 50–950 ramp

primary
#E7D560
secondary
#3949B2
accent
#2AD610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D560

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

Preview Lab → · Contrast checker → · Palette generator →

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