#E7DA5B#E7DA5B

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

Color values

HEX#E7DA5B
RGBrgb(231, 218, 91)
HSLhsl(54, 74%, 63%)
HSVhsv(54, 61%, 91%)
CMYKcmyk(0%, 5.6%, 60.6%, 9.4%)
CIE-LABlab(85.95, -10.72, 62.39)
CIE-LCHlch(85.95, 63.30, 99.75°)
OKLaboklab(87.52% -0.0342 0.1428)
OKLCHoklch(87.52% 0.147 103.5)
XYZxyz(59.9169, 67.8893, 19.8433)
Luminance0.6789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DA5B #5B68E7
analogous
#E7945B #E7DA5B #AEE75B
triadic
#E7DA5B #5BE7DA #DA5BE7
tetradic
#E7DA5B #5BE794 #5B68E7 #E75BAE
square
#E7DA5B #5BE794 #5B68E7 #E75BAE
split-complementary
#E7DA5B #5BAEE7 #945BE7
monochromatic
#AEA019 #DFCE26 #E7DA5B #EFE690 #F7F2C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7DA5B#FFFFFF#000000##000000
##E7DA5B1.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)
#ECD34C
Deuteranopia (green-blind)
#F0DA62
Tritanopia (blue-blind)
#F7CCBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e7da5b;
/* rgb */ color: rgb(231, 218, 91);
/* oklch */ color: oklch(87.5% 0.147 103.5);
Tailwind
colors: {
  custom: {
    50: '#f2e58e',
    500: '#e7da5b',
    950: '#000000',
  },
}
SCSS
$custom: #e7da5b;
$custom-light: #f2e58e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7da5b",
  "rgb": {
    "r": 231,
    "g": 218,
    "b": 91
  },
  "hsl": {
    "h": 54.429,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.8752,
    "c": 0.14686,
    "h": 103.5
  },
  "luminance": 0.67887
}

Semantic roles & 50–950 ramp

primary
#E7DA5B
secondary
#3742AF
accent
#21D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7DA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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