#E7DB5B#E7DB5B

#E7DB5B is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.7% C 0.148 H 104.0°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#E7DB5B
RGBrgb(231, 219, 91)
HSLhsl(55, 74%, 63%)
HSVhsv(55, 61%, 91%)
CMYKcmyk(0%, 5.2%, 60.6%, 9.4%)
CIE-LABlab(86.21, -11.22, 62.67)
CIE-LCHlch(86.21, 63.67, 100.15°)
OKLaboklab(87.73% -0.0357 0.1434)
OKLCHoklch(87.73% 0.148 104)
XYZxyz(60.1770, 68.4095, 19.9300)
Luminance0.6841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DB5B #5B67E7
analogous
#E7955B #E7DB5B #ADE75B
triadic
#E7DB5B #5BE7DB #DB5BE7
tetradic
#E7DB5B #5BE795 #5B67E7 #E75BAD
square
#E7DB5B #5BE795 #5B67E7 #E75BAD
split-complementary
#E7DB5B #5BADE7 #955BE7
monochromatic
#AEA119 #DFCF26 #E7DB5B #EFE790 #F7F2C6

Accessibility & contrast

On white

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

On black

14.68
#E7DB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DB5B
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DB5B#FFFFFF#000000##000000
##E7DB5B1.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44C
Deuteranopia (green-blind)
#F1DB62
Tritanopia (blue-blind)
#F7CDC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7db5b;
/* rgb */ color: rgb(231, 219, 91);
/* oklch */ color: oklch(87.7% 0.148 104.0);
Tailwind
colors: {
  custom: {
    50: '#f2e58e',
    500: '#e7db5b',
    950: '#000000',
  },
}
SCSS
$custom: #e7db5b;
$custom-light: #f2e58e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7db5b",
  "rgb": {
    "r": 231,
    "g": 219,
    "b": 91
  },
  "hsl": {
    "h": 54.857,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.87726,
    "c": 0.14779,
    "h": 104
  },
  "luminance": 0.68407
}

Semantic roles & 50–950 ramp

primary
#E7DB5B
secondary
#3741AF
accent
#20D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7DB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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