#E7DF57#E7DF57

#E7DF57 is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 88.5% C 0.155 H 105.9°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#E7DF57
RGBrgb(231, 223, 87)
HSLhsl(57, 75%, 62%)
HSVhsv(57, 62%, 91%)
CMYKcmyk(0%, 3.5%, 62.3%, 9.4%)
CIE-LABlab(87.22, -13.47, 65.43)
CIE-LCHlch(87.22, 66.80, 101.63°)
OKLaboklab(88.52% -0.0425 0.1487)
OKLCHoklch(88.52% 0.155 105.9)
XYZxyz(61.0651, 70.4545, 19.3974)
Luminance0.7045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF57 #575FE7
analogous
#E79757 #E7DF57 #A7E757
triadic
#E7DF57 #57E7DF #DF57E7
tetradic
#E7DF57 #57E797 #575FE7 #E757A7
square
#E7DF57 #57E797 #575FE7 #E757A7
split-complementary
#E7DF57 #57A7E7 #9757E7
monochromatic
#ABA318 #DFD521 #E7DF57 #EFE98D #F6F3C2

Accessibility & contrast

On white

1.39
#E7DF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.09
#E7DF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF57
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF57#FFFFFF#000000##000000
##E7DF571.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D746
Deuteranopia (green-blind)
#F4DD5F
Tritanopia (blue-blind)
#F7D1C3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e7df57;
/* rgb */ color: rgb(231, 223, 87);
/* oklch */ color: oklch(88.5% 0.155 105.9);
Tailwind
colors: {
  custom: {
    50: '#f2e88c',
    500: '#e7df57',
    950: '#000000',
  },
}
SCSS
$custom: #e7df57;
$custom-light: #f2e88c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df57",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 87
  },
  "hsl": {
    "h": 56.667,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.88518,
    "c": 0.15467,
    "h": 105.9
  },
  "luminance": 0.70452
}

Semantic roles & 50–950 ramp

primary
#E7DF57
secondary
#363CAC
accent
#19D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7DF57

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

Preview Lab → · Contrast checker → · Palette generator →

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