#E8DF56#E8DF56

#E8DF56 is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 88.6% C 0.155 H 105.6°. Best body text is #000000 at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#E8DF56
RGBrgb(232, 223, 86)
HSLhsl(56, 76%, 62%)
HSVhsv(56, 63%, 91%)
CMYKcmyk(0%, 3.9%, 62.9%, 9%)
CIE-LABlab(87.29, -13.12, 65.94)
CIE-LCHlch(87.29, 67.23, 101.25°)
OKLaboklab(88.59% -0.0416 0.1496)
OKLCHoklch(88.59% 0.155 105.6)
XYZxyz(61.3483, 70.6052, 19.1989)
Luminance0.7060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DF56 #565FE8
analogous
#E89656 #E8DF56 #A8E856
triadic
#E8DF56 #56E8DF #DF56E8
tetradic
#E8DF56 #56E896 #565FE8 #E856A8
square
#E8DF56 #56E896 #565FE8 #E856A8
split-complementary
#E8DF56 #56A8E8 #9656E8
monochromatic
#ACA317 #E1D520 #E8DF56 #EFE98C #F7F3C2

Accessibility & contrast

On white

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

On black

15.12
#E8DF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DF56
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DF56#FFFFFF#000000##000000
##E8DF561.001.3915.1215.12
#FFFFFF1.391.0021.0021.00
#00000015.1221.001.001.00
##00000015.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D745
Deuteranopia (green-blind)
#F5DD5E
Tritanopia (blue-blind)
#F8D1C2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e8df56;
/* rgb */ color: rgb(232, 223, 86);
/* oklch */ color: oklch(88.6% 0.155 105.6);
Tailwind
colors: {
  custom: {
    50: '#f3e88c',
    500: '#e8df56',
    950: '#000000',
  },
}
SCSS
$custom: #e8df56;
$custom-light: #f3e88c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8df56",
  "rgb": {
    "r": 232,
    "g": 223,
    "b": 86
  },
  "hsl": {
    "h": 56.301,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.88594,
    "c": 0.15532,
    "h": 105.6
  },
  "luminance": 0.70603
}

Semantic roles & 50–950 ramp

primary
#E8DF56
secondary
#353CAD
accent
#1AD80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E8DF56

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

Preview Lab → · Contrast checker → · Palette generator →

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