#E1DF7D#E1DF7D

#E1DF7D is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.5% C 0.121 H 107.6°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#E1DF7D
RGBrgb(225, 223, 125)
HSLhsl(59, 63%, 69%)
HSVhsv(59, 44%, 88%)
CMYKcmyk(0%, 0.9%, 44.4%, 11.8%)
CIE-LABlab(87.13, -12.89, 48.04)
CIE-LCHlch(87.13, 49.74, 105.02°)
OKLaboklab(88.45% -0.0366 0.1152)
OKLCHoklch(88.45% 0.121 107.6)
XYZxyz(61.1419, 70.2650, 29.7397)
Luminance0.7026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DF7D #7D7FE1
analogous
#E1AD7D #E1DF7D #B1E17D
triadic
#E1DF7D #7DE1DF #DF7DE1
tetradic
#E1DF7D #7DE1AD #7D7FE1 #E17DB1
square
#E1DF7D #7DE1AD #7D7FE1 #E17DB1
split-complementary
#E1DF7D #7DB1E1 #AD7DE1
monochromatic
#B9B62B #D6D34B #E1DF7D #ECEBAF #F8F7E0

Accessibility & contrast

On white

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

On black

15.05
#E1DF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DF7D
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DF7D#FFFFFF#000000##000000
##E1DF7D1.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD875
Deuteranopia (green-blind)
#EFDC82
Tritanopia (blue-blind)
#EED4C8
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e1df7d;
/* rgb */ color: rgb(225, 223, 125);
/* oklch */ color: oklch(88.5% 0.121 107.6);
Tailwind
colors: {
  custom: {
    50: '#ece8a4',
    500: '#e1df7d',
    950: '#000000',
  },
}
SCSS
$custom: #e1df7d;
$custom-light: #ece8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e1df7d",
  "rgb": {
    "r": 225,
    "g": 223,
    "b": 125
  },
  "hsl": {
    "h": 58.8,
    "s": 62.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.88453,
    "c": 0.12089,
    "h": 107.6
  },
  "luminance": 0.70264
}

Semantic roles & 50–950 ramp

primary
#E1DF7D
secondary
#4A4CB8
accent
#1FCA1B
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16160F
muted
#858480

Preview Lab

Preview with #E1DF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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