#E7DF56#E7DF56

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

Color values

HEX#E7DF56
RGBrgb(231, 223, 86)
HSLhsl(57, 75%, 62%)
HSVhsv(57, 63%, 91%)
CMYKcmyk(0%, 3.5%, 62.8%, 9.4%)
CIE-LABlab(87.21, -13.53, 65.83)
CIE-LCHlch(87.21, 67.21, 101.62°)
OKLaboklab(88.51% -0.0428 0.1494)
OKLCHoklch(88.51% 0.155 106)
XYZxyz(61.0245, 70.4382, 19.1837)
Luminance0.7044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF56 #565EE7
analogous
#E79756 #E7DF56 #A6E756
triadic
#E7DF56 #56E7DF #DF56E7
tetradic
#E7DF56 #56E797 #565EE7 #E756A6
square
#E7DF56 #56E797 #565EE7 #E756A6
split-complementary
#E7DF56 #56A6E7 #9756E7
monochromatic
#AAA218 #DFD520 #E7DF56 #EFE98C #F6F3C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7DF56#FFFFFF#000000##000000
##E7DF561.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)
#F1D745
Deuteranopia (green-blind)
#F4DD5E
Tritanopia (blue-blind)
#F7D1C2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e7df56;
/* rgb */ color: rgb(231, 223, 86);
/* oklch */ color: oklch(88.5% 0.155 106.0);
Tailwind
colors: {
  custom: {
    50: '#f2e88c',
    500: '#e7df56',
    950: '#000000',
  },
}
SCSS
$custom: #e7df56;
$custom-light: #f2e88c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df56",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 86
  },
  "hsl": {
    "h": 56.69,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.88509,
    "c": 0.15542,
    "h": 106
  },
  "luminance": 0.70436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7DF56

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

Preview Lab → · Contrast checker → · Palette generator →

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