#E7D561#E7D561

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

Color values

HEX#E7D561
RGBrgb(231, 213, 97)
HSLhsl(52, 74%, 64%)
HSVhsv(52, 58%, 91%)
CMYKcmyk(0%, 7.8%, 58%, 9.4%)
CIE-LABlab(84.71, -7.80, 58.39)
CIE-LCHlch(84.71, 58.91, 97.61°)
OKLaboklab(86.55% -0.0252 0.1351)
OKLCHoklch(86.55% 0.137 100.6)
XYZxyz(58.9091, 65.4428, 20.8356)
Luminance0.6544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D561 #6173E7
analogous
#E79261 #E7D561 #B6E761
triadic
#E7D561 #61E7D5 #D561E7
tetradic
#E7D561 #61E792 #6173E7 #E761B6
square
#E7D561 #61E792 #6173E7 #E761B6
split-complementary
#E7D561 #61B6E7 #9261E7
monochromatic
#B29E1B #DFC72C #E7D561 #EFE396 #F7F1CB

Accessibility & contrast

On white

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

On black

14.09
#E7D561 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D561
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D561#FFFFFF#000000##000000
##E7D5611.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF55
Deuteranopia (green-blind)
#ECD767
Tritanopia (blue-blind)
#F7C7BC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e7d561;
/* rgb */ color: rgb(231, 213, 97);
/* oklch */ color: oklch(86.6% 0.137 100.6);
Tailwind
colors: {
  custom: {
    50: '#f1e192',
    500: '#e7d561',
    950: '#000000',
  },
}
SCSS
$custom: #e7d561;
$custom-light: #f1e192;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d561",
  "rgb": {
    "r": 231,
    "g": 213,
    "b": 97
  },
  "hsl": {
    "h": 51.94,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86553,
    "c": 0.1374,
    "h": 100.6
  },
  "luminance": 0.6544
}

Semantic roles & 50–950 ramp

primary
#E7D561
secondary
#394AB3
accent
#2AD610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D561

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

Preview Lab → · Contrast checker → · Palette generator →

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