#E7DB54#E7DB54

#E7DB54 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.7% C 0.153 H 104.2°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#E7DB54
RGBrgb(231, 219, 84)
HSLhsl(55, 75%, 62%)
HSVhsv(55, 64%, 91%)
CMYKcmyk(0%, 5.2%, 63.6%, 9.4%)
CIE-LABlab(86.15, -11.66, 65.53)
CIE-LCHlch(86.15, 66.56, 100.09°)
OKLaboklab(87.66% -0.0377 0.1485)
OKLCHoklch(87.66% 0.153 104.2)
XYZxyz(59.8890, 68.2943, 18.4132)
Luminance0.6829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DB54 #5460E7
analogous
#E79254 #E7DB54 #AAE754
triadic
#E7DB54 #54E7DB #DB54E7
tetradic
#E7DB54 #54E792 #5460E7 #E754AA
square
#E7DB54 #54E792 #5460E7 #E754AA
split-complementary
#E7DB54 #54AAE7 #9254E7
monochromatic
#A99D18 #DFCF1F #E7DB54 #EFE68A #F6F2BF

Accessibility & contrast

On white

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

On black

14.66
#E7DB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DB54
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DB54#FFFFFF#000000##000000
##E7DB541.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD443
Deuteranopia (green-blind)
#F1DA5C
Tritanopia (blue-blind)
#F7CDBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e7db54;
/* rgb */ color: rgb(231, 219, 84);
/* oklch */ color: oklch(87.7% 0.153 104.2);
Tailwind
colors: {
  custom: {
    50: '#f2e58a',
    500: '#e7db54',
    950: '#000000',
  },
}
SCSS
$custom: #e7db54;
$custom-light: #f2e58a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7db54",
  "rgb": {
    "r": 231,
    "g": 219,
    "b": 84
  },
  "hsl": {
    "h": 55.102,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.87662,
    "c": 0.15319,
    "h": 104.2
  },
  "luminance": 0.68292
}

Semantic roles & 50–950 ramp

primary
#E7DB54
secondary
#353EAA
accent
#1ED80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7DB54

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

Preview Lab → · Contrast checker → · Palette generator →

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