#E1DF42#E1DF42

#E1DF42 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 87.9% C 0.170 H 108.7°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#E1DF42
RGBrgb(225, 223, 66)
HSLhsl(59, 73%, 57%)
HSVhsv(59, 71%, 88%)
CMYKcmyk(0%, 0.9%, 70.7%, 11.8%)
CIE-LABlab(86.59, -17.08, 72.62)
CIE-LCHlch(86.59, 74.60, 103.23°)
OKLaboklab(87.86% -0.0544 0.1607)
OKLCHoklch(87.86% 0.17 108.7)
XYZxyz(58.4245, 69.1781, 15.4283)
Luminance0.6918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DF42 #4244E1
analogous
#E18F42 #E1DF42 #94E142
triadic
#E1DF42 #42E1DF #DF42E1
tetradic
#E1DF42 #42E18F #4244E1 #E14294
square
#E1DF42 #42E18F #4244E1 #E14294
split-complementary
#E1DF42 #4294E1 #8F42E1
monochromatic
#929017 #C6C41F #E1DF42 #E9E877 #F2F1AC

Accessibility & contrast

On white

1.42
#E1DF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.84
#E1DF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DF42
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DF42#FFFFFF#000000##000000
##E1DF421.001.4214.8414.84
#FFFFFF1.421.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e1df42;
/* rgb */ color: rgb(225, 223, 66);
/* oklch */ color: oklch(87.9% 0.170 108.7);
Tailwind
colors: {
  custom: {
    50: '#eee881',
    500: '#e1df42',
    950: '#000000',
  },
}
SCSS
$custom: #e1df42;
$custom-light: #eee881;
$custom-dark: #000000;
JSON
{
  "hex": "#e1df42",
  "rgb": {
    "r": 225,
    "g": 223,
    "b": 66
  },
  "hsl": {
    "h": 59.245,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.87855,
    "c": 0.16969,
    "h": 108.7
  },
  "luminance": 0.69176
}

Semantic roles & 50–950 ramp

primary
#E1DF42
secondary
#313296
accent
#3BEF38
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #E1DF42

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

Preview Lab → · Contrast checker → · Palette generator →

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