#E1DF7A#E1DF7A

#E1DF7A is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.4% C 0.124 H 107.7°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#E1DF7A
RGBrgb(225, 223, 122)
HSLhsl(59, 63%, 68%)
HSVhsv(59, 46%, 88%)
CMYKcmyk(0%, 0.9%, 45.8%, 11.8%)
CIE-LABlab(87.09, -13.18, 49.44)
CIE-LCHlch(87.09, 51.16, 104.92°)
OKLaboklab(88.41% -0.0377 0.1181)
OKLCHoklch(88.41% 0.124 107.7)
XYZxyz(60.9531, 70.1895, 28.7456)
Luminance0.7019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DF7A #7A7CE1
analogous
#E1AB7A #E1DF7A #AFE17A
triadic
#E1DF7A #7AE1DF #DF7AE1
tetradic
#E1DF7A #7AE1AB #7A7CE1 #E17AAF
square
#E1DF7A #7AE1AB #7A7CE1 #E17AAF
split-complementary
#E1DF7A #7AAFE1 #AB7AE1
monochromatic
#B7B529 #D6D348 #E1DF7A #ECEBAC #F8F7DE

Accessibility & contrast

On white

1.40
#E1DF7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.04
#E1DF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DF7A
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DF7A#FFFFFF#000000##000000
##E1DF7A1.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED871
Deuteranopia (green-blind)
#F0DC7F
Tritanopia (blue-blind)
#EED4C7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e1df7a;
/* rgb */ color: rgb(225, 223, 122);
/* oklch */ color: oklch(88.4% 0.124 107.7);
Tailwind
colors: {
  custom: {
    50: '#ece8a2',
    500: '#e1df7a',
    950: '#000000',
  },
}
SCSS
$custom: #e1df7a;
$custom-light: #ece8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e1df7a",
  "rgb": {
    "r": 225,
    "g": 223,
    "b": 122
  },
  "hsl": {
    "h": 58.835,
    "s": 63.19,
    "l": 68.039
  },
  "oklch": {
    "l": 0.88412,
    "c": 0.12397,
    "h": 107.7
  },
  "luminance": 0.70188
}

Semantic roles & 50–950 ramp

primary
#E1DF7A
secondary
#4749B8
accent
#1ECB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16160F
muted
#858480

Preview Lab

Preview with #E1DF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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