#E7DB57#E7DB57

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

Color values

HEX#E7DB57
RGBrgb(231, 219, 87)
HSLhsl(55, 75%, 62%)
HSVhsv(55, 62%, 91%)
CMYKcmyk(0%, 5.2%, 62.3%, 9.4%)
CIE-LABlab(86.18, -11.48, 64.32)
CIE-LCHlch(86.18, 65.33, 100.12°)
OKLaboklab(87.69% -0.0368 0.1464)
OKLCHoklch(87.69% 0.151 104.1)
XYZxyz(60.0090, 68.3423, 19.0454)
Luminance0.6834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DB57 #5763E7
analogous
#E79357 #E7DB57 #ABE757
triadic
#E7DB57 #57E7DB #DB57E7
tetradic
#E7DB57 #57E793 #5763E7 #E757AB
square
#E7DB57 #57E793 #5763E7 #E757AB
split-complementary
#E7DB57 #57ABE7 #9357E7
monochromatic
#AB9F18 #DFD021 #E7DB57 #EFE68D #F6F2C2

Accessibility & contrast

On white

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

On black

14.67
#E7DB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DB57
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DB57#FFFFFF#000000##000000
##E7DB571.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD447
Deuteranopia (green-blind)
#F1DA5F
Tritanopia (blue-blind)
#F7CDBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7db57;
/* rgb */ color: rgb(231, 219, 87);
/* oklch */ color: oklch(87.7% 0.151 104.1);
Tailwind
colors: {
  custom: {
    50: '#f2e58c',
    500: '#e7db57',
    950: '#000000',
  },
}
SCSS
$custom: #e7db57;
$custom-light: #f2e58c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7db57",
  "rgb": {
    "r": 231,
    "g": 219,
    "b": 87
  },
  "hsl": {
    "h": 55,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.87689,
    "c": 0.15092,
    "h": 104.1
  },
  "luminance": 0.6834
}

Semantic roles & 50–950 ramp

primary
#E7DB57
secondary
#3640AC
accent
#1FD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7DB57

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

Preview Lab → · Contrast checker → · Palette generator →

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