#E7DC5C#E7DC5C

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

Color values

HEX#E7DC5C
RGBrgb(231, 220, 92)
HSLhsl(55, 74%, 63%)
HSVhsv(55, 60%, 91%)
CMYKcmyk(0%, 4.8%, 60.2%, 9.4%)
CIE-LABlab(86.48, -11.66, 62.54)
CIE-LCHlch(86.48, 63.61, 100.56°)
OKLaboklab(87.94% -0.0368 0.1433)
OKLCHoklch(87.94% 0.148 104.4)
XYZxyz(60.4821, 68.9502, 20.2459)
Luminance0.6895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DC5C #5C67E7
analogous
#E7965C #E7DC5C #ACE75C
triadic
#E7DC5C #5CE7DC #DC5CE7
tetradic
#E7DC5C #5CE796 #5C67E7 #E75CAC
square
#E7DC5C #5CE796 #5C67E7 #E75CAC
split-complementary
#E7DC5C #5CACE7 #965CE7
monochromatic
#AFA31A #DFD127 #E7DC5C #EFE791 #F7F3C7

Accessibility & contrast

On white

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

On black

14.79
#E7DC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DC5C
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DC5C#FFFFFF#000000##000000
##E7DC5C1.001.4214.7914.79
#FFFFFF1.421.0021.0021.00
#00000014.7921.001.001.00
##00000014.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED54D
Deuteranopia (green-blind)
#F2DB63
Tritanopia (blue-blind)
#F7CEC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7dc5c;
/* rgb */ color: rgb(231, 220, 92);
/* oklch */ color: oklch(87.9% 0.148 104.4);
Tailwind
colors: {
  custom: {
    50: '#f2e68f',
    500: '#e7dc5c',
    950: '#000000',
  },
}
SCSS
$custom: #e7dc5c;
$custom-light: #f2e68f;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dc5c",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 92
  },
  "hsl": {
    "h": 55.252,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87943,
    "c": 0.14792,
    "h": 104.4
  },
  "luminance": 0.68948
}

Semantic roles & 50–950 ramp

primary
#E7DC5C
secondary
#3741B0
accent
#1FD60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7DC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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