#E7DC4A#E7DC4A

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

Color values

HEX#E7DC4A
RGBrgb(231, 220, 74)
HSLhsl(56, 77%, 60%)
HSVhsv(56, 68%, 91%)
CMYKcmyk(0%, 4.8%, 68%, 9.4%)
CIE-LABlab(86.34, -12.72, 69.64)
CIE-LCHlch(86.34, 70.80, 100.35°)
OKLaboklab(87.79% -0.0417 0.1556)
OKLCHoklch(87.79% 0.161 105)
XYZxyz(59.7866, 68.6720, 16.5830)
Luminance0.6867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DC4A #4A55E7
analogous
#E78D4A #E7DC4A #A4E74A
triadic
#E7DC4A #4AE7DC #DC4AE7
tetradic
#E7DC4A #4AE78D #4A55E7 #E74AA4
square
#E7DC4A #4AE78D #4A55E7 #E74AA4
split-complementary
#E7DC4A #4AA4E7 #8D4AE7
monochromatic
#A19715 #D7CA1D #E7DC4A #EEE680 #F5F1B6

Accessibility & contrast

On white

1.43
#E7DC4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.73
#E7DC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DC4A
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DC4A#FFFFFF#000000##000000
##E7DC4A1.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD434
Deuteranopia (green-blind)
#F3DB54
Tritanopia (blue-blind)
#F8CDBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7dc4a;
/* rgb */ color: rgb(231, 220, 74);
/* oklch */ color: oklch(87.8% 0.161 105.0);
Tailwind
colors: {
  custom: {
    50: '#f2e685',
    500: '#e7dc4a',
    950: '#000000',
  },
}
SCSS
$custom: #e7dc4a;
$custom-light: #f2e685;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dc4a",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 74
  },
  "hsl": {
    "h": 55.796,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.87789,
    "c": 0.1611,
    "h": 105
  },
  "luminance": 0.6867
}

Semantic roles & 50–950 ramp

primary
#E7DC4A
secondary
#3139A4
accent
#42F335
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7DC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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