#E7D566#E7D566

#E7D566 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.6% C 0.133 H 100.2°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#E7D566
RGBrgb(231, 213, 102)
HSLhsl(52, 73%, 65%)
HSVhsv(52, 56%, 91%)
CMYKcmyk(0%, 7.8%, 55.8%, 9.4%)
CIE-LABlab(84.76, -7.43, 56.18)
CIE-LCHlch(84.76, 56.67, 97.53°)
OKLaboklab(86.61% -0.0236 0.1309)
OKLCHoklch(86.61% 0.133 100.2)
XYZxyz(59.1496, 65.5390, 22.1024)
Luminance0.6554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D566 #6678E7
analogous
#E79466 #E7D566 #B8E766
triadic
#E7D566 #66E7D5 #D566E7
tetradic
#E7D566 #66E794 #6678E7 #E766B8
square
#E7D566 #66E794 #6678E7 #E766B8
split-complementary
#E7D566 #66B8E7 #9466E7
monochromatic
#B6A11D #DFC631 #E7D566 #EFE49B #F8F2D0

Accessibility & contrast

On white

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

On black

14.11
#E7D566 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D566
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D566#FFFFFF#000000##000000
##E7D5661.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D05B
Deuteranopia (green-blind)
#ECD76B
Tritanopia (blue-blind)
#F7C8BC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e7d566;
/* rgb */ color: rgb(231, 213, 102);
/* oklch */ color: oklch(86.6% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#f1e195',
    500: '#e7d566',
    950: '#000000',
  },
}
SCSS
$custom: #e7d566;
$custom-light: #f1e195;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d566",
  "rgb": {
    "r": 231,
    "g": 213,
    "b": 102
  },
  "hsl": {
    "h": 51.628,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.86608,
    "c": 0.13302,
    "h": 100.2
  },
  "luminance": 0.65537
}

Semantic roles & 50–950 ramp

primary
#E7D566
secondary
#3B4CB6
accent
#2CD511
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D566

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

Preview Lab → · Contrast checker → · Palette generator →

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