#E1DF54#E1DF54

#E1DF54 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.0% C 0.158 H 108.5°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#E1DF54
RGBrgb(225, 223, 84)
HSLhsl(59, 70%, 61%)
HSVhsv(59, 63%, 88%)
CMYKcmyk(0%, 0.9%, 62.7%, 11.8%)
CIE-LABlab(86.71, -16.11, 65.97)
CIE-LCHlch(86.71, 67.91, 103.72°)
OKLaboklab(87.99% -0.0499 0.1496)
OKLCHoklch(87.99% 0.158 108.5)
XYZxyz(59.0412, 69.4247, 18.6760)
Luminance0.6942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DF54 #5456E1
analogous
#E19854 #E1DF54 #9CE154
triadic
#E1DF54 #54E1DF #DF54E1
tetradic
#E1DF54 #54E198 #5456E1 #E1549C
square
#E1DF54 #54E198 #5456E1 #E1549C
split-complementary
#E1DF54 #549CE1 #9854E1
monochromatic
#9F9D1C #D3D025 #E1DF54 #EAE988 #F3F2BC

Accessibility & contrast

On white

1.41
#E1DF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.88
#E1DF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DF54
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DF54#FFFFFF#000000##000000
##E1DF541.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D642
Deuteranopia (green-blind)
#F2DB5D
Tritanopia (blue-blind)
#F0D1C2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e1df54;
/* rgb */ color: rgb(225, 223, 84);
/* oklch */ color: oklch(88.0% 0.158 108.5);
Tailwind
colors: {
  custom: {
    50: '#eee88a',
    500: '#e1df54',
    950: '#000000',
  },
}
SCSS
$custom: #e1df54;
$custom-light: #eee88a;
$custom-dark: #000000;
JSON
{
  "hex": "#e1df54",
  "rgb": {
    "r": 225,
    "g": 223,
    "b": 84
  },
  "hsl": {
    "h": 59.149,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.87991,
    "c": 0.15769,
    "h": 108.5
  },
  "luminance": 0.69423
}

Semantic roles & 50–950 ramp

primary
#E1DF54
secondary
#3739A2
accent
#16D213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E1DF54

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

Preview Lab → · Contrast checker → · Palette generator →

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