#E7DB5E#E7DB5E

#E7DB5E is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.8% C 0.145 H 103.8°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#E7DB5E
RGBrgb(231, 219, 94)
HSLhsl(55, 74%, 64%)
HSVhsv(55, 59%, 91%)
CMYKcmyk(0%, 5.2%, 59.3%, 9.4%)
CIE-LABlab(86.24, -11.02, 61.41)
CIE-LCHlch(86.24, 62.39, 100.18°)
OKLaboklab(87.76% -0.0348 0.1411)
OKLCHoklch(87.76% 0.145 103.8)
XYZxyz(60.3090, 68.4623, 20.6252)
Luminance0.6846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DB5E #5E6AE7
analogous
#E7965E #E7DB5E #AEE75E
triadic
#E7DB5E #5EE7DB #DB5EE7
tetradic
#E7DB5E #5EE796 #5E6AE7 #E75EAE
square
#E7DB5E #5EE796 #5E6AE7 #E75EAE
split-complementary
#E7DB5E #5EAEE7 #965EE7
monochromatic
#B0A31A #DFCF29 #E7DB5E #EFE793 #F7F3C9

Accessibility & contrast

On white

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

On black

14.69
#E7DB5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DB5E
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DB5E#FFFFFF#000000##000000
##E7DB5E1.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7db5e;
/* rgb */ color: rgb(231, 219, 94);
/* oklch */ color: oklch(87.8% 0.145 103.8);
Tailwind
colors: {
  custom: {
    50: '#f1e590',
    500: '#e7db5e',
    950: '#000000',
  },
}
SCSS
$custom: #e7db5e;
$custom-light: #f1e590;
$custom-dark: #000000;
JSON
{
  "hex": "#e7db5e",
  "rgb": {
    "r": 231,
    "g": 219,
    "b": 94
  },
  "hsl": {
    "h": 54.745,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.87756,
    "c": 0.14536,
    "h": 103.8
  },
  "luminance": 0.6846
}

Semantic roles & 50–950 ramp

primary
#E7DB5E
secondary
#3843B1
accent
#21D60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7DB5E

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

Preview Lab → · Contrast checker → · Palette generator →

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