#E7DC55#E7DC55

#E7DC55 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.9% C 0.153 H 104.7°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#E7DC55
RGBrgb(231, 220, 85)
HSLhsl(55, 75%, 62%)
HSVhsv(55, 63%, 91%)
CMYKcmyk(0%, 4.8%, 63.2%, 9.4%)
CIE-LABlab(86.42, -12.10, 65.40)
CIE-LCHlch(86.42, 66.51, 100.48°)
OKLaboklab(87.88% -0.0388 0.1484)
OKLCHoklch(87.88% 0.153 104.7)
XYZxyz(60.1901, 68.8334, 18.7082)
Luminance0.6883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DC55 #5560E7
analogous
#E79355 #E7DC55 #A9E755
triadic
#E7DC55 #55E7DC #DC55E7
tetradic
#E7DC55 #55E793 #5560E7 #E755A9
square
#E7DC55 #55E793 #5560E7 #E755A9
split-complementary
#E7DC55 #55A9E7 #9355E7
monochromatic
#AA9F18 #DFD120 #E7DC55 #EFE78B #F6F2C0

Accessibility & contrast

On white

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

On black

14.77
#E7DC55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DC55
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DC55#FFFFFF#000000##000000
##E7DC551.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED544
Deuteranopia (green-blind)
#F2DB5D
Tritanopia (blue-blind)
#F7CEC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7dc55;
/* rgb */ color: rgb(231, 220, 85);
/* oklch */ color: oklch(87.9% 0.153 104.7);
Tailwind
colors: {
  custom: {
    50: '#f2e68b',
    500: '#e7dc55',
    950: '#000000',
  },
}
SCSS
$custom: #e7dc55;
$custom-light: #f2e68b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dc55",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 85
  },
  "hsl": {
    "h": 55.479,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.87878,
    "c": 0.15336,
    "h": 104.7
  },
  "luminance": 0.68831
}

Semantic roles & 50–950 ramp

primary
#E7DC55
secondary
#353EAB
accent
#1DD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7DC55

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

Preview Lab → · Contrast checker → · Palette generator →

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