#E1DF4F#E1DF4F

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

Color values

HEX#E1DF4F
RGBrgb(225, 223, 79)
HSLhsl(59, 71%, 60%)
HSVhsv(59, 65%, 88%)
CMYKcmyk(0%, 0.9%, 64.9%, 11.8%)
CIE-LABlab(86.68, -16.41, 67.91)
CIE-LCHlch(86.68, 69.87, 103.58°)
OKLaboklab(87.95% -0.0513 0.1529)
OKLCHoklch(87.95% 0.161 108.5)
XYZxyz(58.8523, 69.3492, 17.6812)
Luminance0.6935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DF4F #4F51E1
analogous
#E1964F #E1DF4F #9AE14F
triadic
#E1DF4F #4FE1DF #DF4FE1
tetradic
#E1DF4F #4FE196 #4F51E1 #E14F9A
square
#E1DF4F #4FE196 #4F51E1 #E14F9A
split-complementary
#E1DF4F #4F9AE1 #964FE1
monochromatic
#9B991A #CFCD23 #E1DF4F #EAE983 #F3F2B8

Accessibility & contrast

On white

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

On black

14.87
#E1DF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DF4F
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DF4F#FFFFFF#000000##000000
##E1DF4F1.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e1df4f;
/* rgb */ color: rgb(225, 223, 79);
/* oklch */ color: oklch(87.9% 0.161 108.5);
Tailwind
colors: {
  custom: {
    50: '#eee888',
    500: '#e1df4f',
    950: '#000000',
  },
}
SCSS
$custom: #e1df4f;
$custom-light: #eee888;
$custom-dark: #000000;
JSON
{
  "hex": "#e1df4f",
  "rgb": {
    "r": 225,
    "g": 223,
    "b": 79
  },
  "hsl": {
    "h": 59.178,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.87949,
    "c": 0.1613,
    "h": 108.5
  },
  "luminance": 0.69347
}

Semantic roles & 50–950 ramp

primary
#E1DF4F
secondary
#35379F
accent
#3DEE3A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E1DF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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