#E1DC4F#E1DC4F

#E1DC4F is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.3% C 0.158 H 107.3°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#E1DC4F
RGBrgb(225, 220, 79)
HSLhsl(58, 71%, 60%)
HSVhsv(58, 65%, 88%)
CMYKcmyk(0%, 2.2%, 64.9%, 11.8%)
CIE-LABlab(85.89, -14.93, 67.10)
CIE-LCHlch(85.89, 68.74, 102.54°)
OKLaboklab(87.32% -0.0471 0.1512)
OKLCHoklch(87.32% 0.158 107.3)
XYZxyz(58.0579, 67.7603, 17.4164)
Luminance0.6776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DC4F #4F54E1
analogous
#E1934F #E1DC4F #9DE14F
triadic
#E1DC4F #4FE1DC #DC4FE1
tetradic
#E1DC4F #4FE193 #4F54E1 #E14F9D
square
#E1DC4F #4FE193 #4F54E1 #E14F9D
split-complementary
#E1DC4F #4F9DE1 #934FE1
monochromatic
#9B971A #CFCA23 #E1DC4F #EAE683 #F3F1B8

Accessibility & contrast

On white

1.44
#E1DC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.55
#E1DC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DC4F
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DC4F#FFFFFF#000000##000000
##E1DC4F1.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED43C
Deuteranopia (green-blind)
#F0D958
Tritanopia (blue-blind)
#F1CEBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e1dc4f;
/* rgb */ color: rgb(225, 220, 79);
/* oklch */ color: oklch(87.3% 0.158 107.3);
Tailwind
colors: {
  custom: {
    50: '#eee687',
    500: '#e1dc4f',
    950: '#000000',
  },
}
SCSS
$custom: #e1dc4f;
$custom-light: #eee687;
$custom-dark: #000000;
JSON
{
  "hex": "#e1dc4f",
  "rgb": {
    "r": 225,
    "g": 220,
    "b": 79
  },
  "hsl": {
    "h": 57.945,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.87319,
    "c": 0.15838,
    "h": 107.3
  },
  "luminance": 0.67758
}

Semantic roles & 50–950 ramp

primary
#E1DC4F
secondary
#35399F
accent
#40EE3A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E1DC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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