#E8DF54#E8DF54

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

Color values

HEX#E8DF54
RGBrgb(232, 223, 84)
HSLhsl(56, 76%, 62%)
HSVhsv(56, 64%, 91%)
CMYKcmyk(0%, 3.9%, 63.8%, 9%)
CIE-LABlab(87.28, -13.24, 66.73)
CIE-LCHlch(87.28, 68.04, 101.22°)
OKLaboklab(88.58% -0.0422 0.151)
OKLCHoklch(88.58% 0.157 105.6)
XYZxyz(61.2689, 70.5734, 18.7804)
Luminance0.7057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DF54 #545DE8
analogous
#E89554 #E8DF54 #A7E854
triadic
#E8DF54 #54E8DF #DF54E8
tetradic
#E8DF54 #54E895 #545DE8 #E854A7
square
#E8DF54 #54E895 #545DE8 #E854A7
split-complementary
#E8DF54 #54A7E8 #9554E8
monochromatic
#ABA217 #E1D51E #E8DF54 #EFE98A #F7F3C0

Accessibility & contrast

On white

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

On black

15.11
#E8DF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DF54
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DF54#FFFFFF#000000##000000
##E8DF541.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8df54;
/* rgb */ color: rgb(232, 223, 84);
/* oklch */ color: oklch(88.6% 0.157 105.6);
Tailwind
colors: {
  custom: {
    50: '#f3e88b',
    500: '#e8df54',
    950: '#000000',
  },
}
SCSS
$custom: #e8df54;
$custom-light: #f3e88b;
$custom-dark: #000000;
JSON
{
  "hex": "#e8df54",
  "rgb": {
    "r": 232,
    "g": 223,
    "b": 84
  },
  "hsl": {
    "h": 56.351,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.88577,
    "c": 0.1568,
    "h": 105.6
  },
  "luminance": 0.70571
}

Semantic roles & 50–950 ramp

primary
#E8DF54
secondary
#343CAC
accent
#19D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E8DF54

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

Preview Lab → · Contrast checker → · Palette generator →

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