#E7DA5D#E7DA5D

#E7DA5D is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.5% C 0.145 H 103.4°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#E7DA5D
RGBrgb(231, 218, 93)
HSLhsl(54, 74%, 64%)
HSVhsv(54, 60%, 91%)
CMYKcmyk(0%, 5.6%, 59.7%, 9.4%)
CIE-LABlab(85.97, -10.59, 61.55)
CIE-LCHlch(85.97, 62.45, 99.76°)
OKLaboklab(87.54% -0.0336 0.1413)
OKLCHoklch(87.54% 0.145 103.4)
XYZxyz(60.0043, 67.9242, 20.3037)
Luminance0.6792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DA5D #5D6AE7
analogous
#E7955D #E7DA5D #AFE75D
triadic
#E7DA5D #5DE7DA #DA5DE7
tetradic
#E7DA5D #5DE795 #5D6AE7 #E75DAF
square
#E7DA5D #5DE795 #5D6AE7 #E75DAF
split-complementary
#E7DA5D #5DAFE7 #955DE7
monochromatic
#B0A11A #DFCE28 #E7DA5D #EFE692 #F7F2C8

Accessibility & contrast

On white

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

On black

14.58
#E7DA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DA5D
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DA5D#FFFFFF#000000##000000
##E7DA5D1.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD34F
Deuteranopia (green-blind)
#F0DA64
Tritanopia (blue-blind)
#F7CCBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e7da5d;
/* rgb */ color: rgb(231, 218, 93);
/* oklch */ color: oklch(87.5% 0.145 103.4);
Tailwind
colors: {
  custom: {
    50: '#f2e590',
    500: '#e7da5d',
    950: '#000000',
  },
}
SCSS
$custom: #e7da5d;
$custom-light: #f2e590;
$custom-dark: #000000;
JSON
{
  "hex": "#e7da5d",
  "rgb": {
    "r": 231,
    "g": 218,
    "b": 93
  },
  "hsl": {
    "h": 54.348,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.87539,
    "c": 0.14525,
    "h": 103.4
  },
  "luminance": 0.67922
}

Semantic roles & 50–950 ramp

primary
#E7DA5D
secondary
#3843B0
accent
#22D60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7DA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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