#E7DC5E#E7DC5E

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

Color values

HEX#E7DC5E
RGBrgb(231, 220, 94)
HSLhsl(55, 74%, 64%)
HSVhsv(55, 59%, 91%)
CMYKcmyk(0%, 4.8%, 59.3%, 9.4%)
CIE-LABlab(86.50, -11.52, 61.70)
CIE-LCHlch(86.50, 62.76, 100.58°)
OKLaboklab(87.96% -0.0362 0.1417)
OKLCHoklch(87.96% 0.146 104.3)
XYZxyz(60.5707, 68.9856, 20.7125)
Luminance0.6898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DC5E #5E69E7
analogous
#E7975E #E7DC5E #ADE75E
triadic
#E7DC5E #5EE7DC #DC5EE7
tetradic
#E7DC5E #5EE797 #5E69E7 #E75EAD
square
#E7DC5E #5EE797 #5E69E7 #E75EAD
split-complementary
#E7DC5E #5EADE7 #975EE7
monochromatic
#B0A41A #DFD029 #E7DC5E #EFE893 #F7F3C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7DC5E#FFFFFF#000000##000000
##E7DC5E1.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)
#EED550
Deuteranopia (green-blind)
#F2DB65
Tritanopia (blue-blind)
#F7CEC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7dc5e;
/* rgb */ color: rgb(231, 220, 94);
/* oklch */ color: oklch(88.0% 0.146 104.3);
Tailwind
colors: {
  custom: {
    50: '#f1e690',
    500: '#e7dc5e',
    950: '#000000',
  },
}
SCSS
$custom: #e7dc5e;
$custom-light: #f1e690;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dc5e",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 94
  },
  "hsl": {
    "h": 55.182,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.87962,
    "c": 0.14629,
    "h": 104.3
  },
  "luminance": 0.68983
}

Semantic roles & 50–950 ramp

primary
#E7DC5E
secondary
#3842B1
accent
#1FD60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7DC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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