#E1DF4A#E1DF4A

#E1DF4A is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 87.9% C 0.165 H 108.6°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#E1DF4A
RGBrgb(225, 223, 74)
HSLhsl(59, 72%, 59%)
HSVhsv(59, 67%, 88%)
CMYKcmyk(0%, 0.9%, 67.1%, 11.8%)
CIE-LABlab(86.64, -16.68, 69.79)
CIE-LCHlch(86.64, 71.75, 103.44°)
OKLaboklab(87.91% -0.0525 0.1561)
OKLCHoklch(87.91% 0.165 108.6)
XYZxyz(58.6771, 69.2791, 16.7585)
Luminance0.6928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DF4A #4A4CE1
analogous
#E1934A #E1DF4A #97E14A
triadic
#E1DF4A #4AE1DF #DF4AE1
tetradic
#E1DF4A #4AE193 #4A4CE1 #E14A97
square
#E1DF4A #4AE193 #4A4CE1 #E14A97
split-complementary
#E1DF4A #4A97E1 #934AE1
monochromatic
#979619 #CCCA22 #E1DF4A #EAE87E #F2F2B3

Accessibility & contrast

On white

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

On black

14.86
#E1DF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DF4A
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DF4A#FFFFFF#000000##000000
##E1DF4A1.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D633
Deuteranopia (green-blind)
#F3DB54
Tritanopia (blue-blind)
#F1D1C1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e1df4a;
/* rgb */ color: rgb(225, 223, 74);
/* oklch */ color: oklch(87.9% 0.165 108.6);
Tailwind
colors: {
  custom: {
    50: '#eee885',
    500: '#e1df4a',
    950: '#000000',
  },
}
SCSS
$custom: #e1df4a;
$custom-light: #eee885;
$custom-dark: #000000;
JSON
{
  "hex": "#e1df4a",
  "rgb": {
    "r": 225,
    "g": 223,
    "b": 74
  },
  "hsl": {
    "h": 59.205,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.87911,
    "c": 0.1647,
    "h": 108.6
  },
  "luminance": 0.69277
}

Semantic roles & 50–950 ramp

primary
#E1DF4A
secondary
#34359B
accent
#3CEE39
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17160C
muted
#85847F

Preview Lab

Preview with #E1DF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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