#E7DC66#E7DC66

#E7DC66 is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 88.0% C 0.139 H 104.0°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#E7DC66
RGBrgb(231, 220, 102)
HSLhsl(55, 73%, 65%)
HSVhsv(55, 56%, 91%)
CMYKcmyk(0%, 4.8%, 55.8%, 9.4%)
CIE-LABlab(86.57, -10.95, 58.25)
CIE-LCHlch(86.57, 59.27, 100.65°)
OKLaboklab(88.05% -0.0337 0.1354)
OKLCHoklch(88.05% 0.139 104)
XYZxyz(60.9484, 69.1367, 22.7020)
Luminance0.6914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DC66 #6671E7
analogous
#E79C66 #E7DC66 #B1E766
triadic
#E7DC66 #66E7DC #DC66E7
tetradic
#E7DC66 #66E79C #6671E7 #E766B1
square
#E7DC66 #66E79C #6671E7 #E766B1
split-complementary
#E7DC66 #66B1E7 #9C66E7
monochromatic
#B6A91D #DFD031 #E7DC66 #EFE89B #F8F4D0

Accessibility & contrast

On white

1.42
#E7DC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#E7DC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DC66
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DC66#FFFFFF#000000##000000
##E7DC661.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD55A
Deuteranopia (green-blind)
#F1DB6C
Tritanopia (blue-blind)
#F6CFC2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e7dc66;
/* rgb */ color: rgb(231, 220, 102);
/* oklch */ color: oklch(88.0% 0.139 104.0);
Tailwind
colors: {
  custom: {
    50: '#f1e695',
    500: '#e7dc66',
    950: '#000000',
  },
}
SCSS
$custom: #e7dc66;
$custom-light: #f1e695;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dc66",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 102
  },
  "hsl": {
    "h": 54.884,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.88046,
    "c": 0.13949,
    "h": 104
  },
  "luminance": 0.69135
}

Semantic roles & 50–950 ramp

primary
#E7DC66
secondary
#3B46B6
accent
#21D511
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7DC66

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

Preview Lab → · Contrast checker → · Palette generator →

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