#E2DF54#E2DF54

#E2DF54 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.1% C 0.158 H 108.1°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#E2DF54
RGBrgb(226, 223, 84)
HSLhsl(59, 71%, 61%)
HSVhsv(59, 63%, 89%)
CMYKcmyk(0%, 1.3%, 62.8%, 11.4%)
CIE-LABlab(86.79, -15.70, 66.08)
CIE-LCHlch(86.79, 67.92, 103.37°)
OKLaboklab(88.07% -0.0488 0.1498)
OKLCHoklch(88.07% 0.158 108.1)
XYZxyz(59.3539, 69.5860, 18.6907)
Luminance0.6958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF54 #5457E2
analogous
#E29854 #E2DF54 #9EE254
triadic
#E2DF54 #54E2DF #DF54E2
tetradic
#E2DF54 #54E298 #5457E2 #E2549E
square
#E2DF54 #54E298 #5457E2 #E2549E
split-complementary
#E2DF54 #549EE2 #9854E2
monochromatic
#A09E1B #D5D124 #E2DF54 #EBE988 #F4F3BD

Accessibility & contrast

On white

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

On black

14.92
#E2DF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF54
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF54#FFFFFF#000000##000000
##E2DF541.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D742
Deuteranopia (green-blind)
#F3DC5D
Tritanopia (blue-blind)
#F1D1C2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e2df54;
/* rgb */ color: rgb(226, 223, 84);
/* oklch */ color: oklch(88.1% 0.158 108.1);
Tailwind
colors: {
  custom: {
    50: '#eee88a',
    500: '#e2df54',
    950: '#000000',
  },
}
SCSS
$custom: #e2df54;
$custom-light: #eee88a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df54",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 84
  },
  "hsl": {
    "h": 58.732,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.88074,
    "c": 0.15754,
    "h": 108.1
  },
  "luminance": 0.69584
}

Semantic roles & 50–950 ramp

primary
#E2DF54
secondary
#3739A3
accent
#17D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2DF54

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

Preview Lab → · Contrast checker → · Palette generator →

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