#E7DB4A#E7DB4A

#E7DB4A is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.6% C 0.160 H 104.6°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#E7DB4A
RGBrgb(231, 219, 74)
HSLhsl(55, 77%, 60%)
HSVhsv(55, 68%, 91%)
CMYKcmyk(0%, 5.2%, 68%, 9.4%)
CIE-LABlab(86.08, -12.22, 69.38)
CIE-LCHlch(86.08, 70.45, 99.99°)
OKLaboklab(87.58% -0.0403 0.1551)
OKLCHoklch(87.58% 0.16 104.6)
XYZxyz(59.5249, 68.1486, 16.4958)
Luminance0.6815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DB4A #4A56E7
analogous
#E78D4A #E7DB4A #A5E74A
triadic
#E7DB4A #4AE7DB #DB4AE7
tetradic
#E7DB4A #4AE78D #4A56E7 #E74AA5
square
#E7DB4A #4AE78D #4A56E7 #E74AA5
split-complementary
#E7DB4A #4AA5E7 #8D4AE7
monochromatic
#A19715 #D7C91D #E7DB4A #EEE680 #F5F0B6

Accessibility & contrast

On white

1.44
#E7DB4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.63
#E7DB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DB4A
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DB4A#FFFFFF#000000##000000
##E7DB4A1.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED434
Deuteranopia (green-blind)
#F2DA53
Tritanopia (blue-blind)
#F8CCBE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e7db4a;
/* rgb */ color: rgb(231, 219, 74);
/* oklch */ color: oklch(87.6% 0.160 104.6);
Tailwind
colors: {
  custom: {
    50: '#f2e585',
    500: '#e7db4a',
    950: '#000000',
  },
}
SCSS
$custom: #e7db4a;
$custom-light: #f2e585;
$custom-dark: #000000;
JSON
{
  "hex": "#e7db4a",
  "rgb": {
    "r": 231,
    "g": 219,
    "b": 74
  },
  "hsl": {
    "h": 55.414,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.87581,
    "c": 0.16021,
    "h": 104.6
  },
  "luminance": 0.68146
}

Semantic roles & 50–950 ramp

primary
#E7DB4A
secondary
#313AA4
accent
#43F335
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#17150B
muted
#85847E

Preview Lab

Preview with #E7DB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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