#E7DC4C#E7DC4C

#E7DC4C is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 87.8% C 0.160 H 104.9°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#E7DC4C
RGBrgb(231, 220, 76)
HSLhsl(56, 76%, 60%)
HSVhsv(56, 67%, 91%)
CMYKcmyk(0%, 4.8%, 67.1%, 9.4%)
CIE-LABlab(86.35, -12.61, 68.90)
CIE-LCHlch(86.35, 70.04, 100.37°)
OKLaboklab(87.8% -0.0412 0.1544)
OKLCHoklch(87.8% 0.16 104.9)
XYZxyz(59.8550, 68.6993, 16.9435)
Luminance0.6870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DC4C #4C57E7
analogous
#E78E4C #E7DC4C #A4E74C
triadic
#E7DC4C #4CE7DC #DC4CE7
tetradic
#E7DC4C #4CE78E #4C57E7 #E74CA4
square
#E7DC4C #4CE78E #4C57E7 #E74CA4
split-complementary
#E7DC4C #4CA4E7 #8E4CE7
monochromatic
#A39916 #D9CB1D #E7DC4C #EEE782 #F5F1B8

Accessibility & contrast

On white

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

On black

14.74
#E7DC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DC4C
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DC4C#FFFFFF#000000##000000
##E7DC4C1.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD437
Deuteranopia (green-blind)
#F3DB55
Tritanopia (blue-blind)
#F8CEBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7dc4c;
/* rgb */ color: rgb(231, 220, 76);
/* oklch */ color: oklch(87.8% 0.160 104.9);
Tailwind
colors: {
  custom: {
    50: '#f2e686',
    500: '#e7dc4c',
    950: '#000000',
  },
}
SCSS
$custom: #e7dc4c;
$custom-light: #f2e686;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dc4c",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 76
  },
  "hsl": {
    "h": 55.742,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87804,
    "c": 0.15977,
    "h": 104.9
  },
  "luminance": 0.68697
}

Semantic roles & 50–950 ramp

primary
#E7DC4C
secondary
#323AA5
accent
#1BD90D
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7DC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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