#E7DC60#E7DC60

#E7DC60 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 88.0% C 0.145 H 104.2°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#E7DC60
RGBrgb(231, 220, 96)
HSLhsl(55, 74%, 64%)
HSVhsv(55, 58%, 91%)
CMYKcmyk(0%, 4.8%, 58.4%, 9.4%)
CIE-LABlab(86.51, -11.39, 60.85)
CIE-LCHlch(86.51, 61.90, 100.60°)
OKLaboklab(87.98% -0.0356 0.1402)
OKLCHoklch(87.98% 0.145 104.2)
XYZxyz(60.6616, 69.0220, 21.1912)
Luminance0.6902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DC60 #606BE7
analogous
#E79960 #E7DC60 #AFE760
triadic
#E7DC60 #60E7DC #DC60E7
tetradic
#E7DC60 #60E799 #606BE7 #E760AF
square
#E7DC60 #60E799 #606BE7 #E760AF
split-complementary
#E7DC60 #60AFE7 #9960E7
monochromatic
#B2A51B #DFD02B #E7DC60 #EFE895 #F7F3CA

Accessibility & contrast

On white

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

On black

14.80
#E7DC60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DC60
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DC60#FFFFFF#000000##000000
##E7DC601.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED553
Deuteranopia (green-blind)
#F1DB67
Tritanopia (blue-blind)
#F7CFC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7dc60;
/* rgb */ color: rgb(231, 220, 96);
/* oklch */ color: oklch(88.0% 0.145 104.2);
Tailwind
colors: {
  custom: {
    50: '#f1e691',
    500: '#e7dc60',
    950: '#000000',
  },
}
SCSS
$custom: #e7dc60;
$custom-light: #f1e691;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dc60",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 96
  },
  "hsl": {
    "h": 55.111,
    "s": 73.77,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87982,
    "c": 0.14463,
    "h": 104.2
  },
  "luminance": 0.6902
}

Semantic roles & 50–950 ramp

primary
#E7DC60
secondary
#3943B2
accent
#20D610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7DC60

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

Preview Lab → · Contrast checker → · Palette generator →

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