#E7DC58#E7DC58

#E7DC58 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 87.9% C 0.151 H 104.5°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#E7DC58
RGBrgb(231, 220, 88)
HSLhsl(55, 75%, 63%)
HSVhsv(55, 62%, 91%)
CMYKcmyk(0%, 4.8%, 61.9%, 9.4%)
CIE-LABlab(86.45, -11.92, 64.19)
CIE-LCHlch(86.45, 65.28, 100.52°)
OKLaboklab(87.91% -0.0379 0.1462)
OKLCHoklch(87.91% 0.151 104.5)
XYZxyz(60.3118, 68.8821, 19.3492)
Luminance0.6888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DC58 #5863E7
analogous
#E79558 #E7DC58 #AAE758
triadic
#E7DC58 #58E7DC #DC58E7
tetradic
#E7DC58 #58E795 #5863E7 #E758AA
square
#E7DC58 #58E795 #5863E7 #E758AA
split-complementary
#E7DC58 #58AAE7 #9558E7
monochromatic
#ACA119 #DFD122 #E7DC58 #EFE78E #F6F2C3

Accessibility & contrast

On white

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

On black

14.78
#E7DC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DC58
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DC58#FFFFFF#000000##000000
##E7DC581.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7dc58;
/* rgb */ color: rgb(231, 220, 88);
/* oklch */ color: oklch(87.9% 0.151 104.5);
Tailwind
colors: {
  custom: {
    50: '#f2e68d',
    500: '#e7dc58',
    950: '#000000',
  },
}
SCSS
$custom: #e7dc58;
$custom-light: #f2e68d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dc58",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 88
  },
  "hsl": {
    "h": 55.385,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.87905,
    "c": 0.15107,
    "h": 104.5
  },
  "luminance": 0.6888
}

Semantic roles & 50–950 ramp

primary
#E7DC58
secondary
#363FAD
accent
#1ED70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7DC58

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

Preview Lab → · Contrast checker → · Palette generator →

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