#E2DF7D#E2DF7D

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

Color values

HEX#E2DF7D
RGBrgb(226, 223, 125)
HSLhsl(58, 64%, 69%)
HSVhsv(58, 45%, 89%)
CMYKcmyk(0%, 1.3%, 44.7%, 11.4%)
CIE-LABlab(87.21, -12.49, 48.15)
CIE-LCHlch(87.21, 49.75, 104.55°)
OKLaboklab(88.54% -0.0355 0.1155)
OKLCHoklch(88.54% 0.121 107.1)
XYZxyz(61.4546, 70.4263, 29.7544)
Luminance0.7043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF7D #7D80E2
analogous
#E2AD7D #E2DF7D #B3E27D
triadic
#E2DF7D #7DE2DF #DF7DE2
tetradic
#E2DF7D #7DE2AD #7D80E2 #E27DB3
square
#E2DF7D #7DE2AD #7D80E2 #E27DB3
split-complementary
#E2DF7D #7DB3E2 #AD7DE2
monochromatic
#BBB72A #D7D34B #E2DF7D #EDEBAF #F8F8E1

Accessibility & contrast

On white

1.39
#E2DF7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.09
#E2DF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF7D
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF7D#FFFFFF#000000##000000
##E2DF7D1.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2df7d;
/* rgb */ color: rgb(226, 223, 125);
/* oklch */ color: oklch(88.5% 0.121 107.1);
Tailwind
colors: {
  custom: {
    50: '#ede8a4',
    500: '#e2df7d',
    950: '#000000',
  },
}
SCSS
$custom: #e2df7d;
$custom-light: #ede8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df7d",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 125
  },
  "hsl": {
    "h": 58.218,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88535,
    "c": 0.1208,
    "h": 107.1
  },
  "luminance": 0.70425
}

Semantic roles & 50–950 ramp

primary
#E2DF7D
secondary
#4A4DB9
accent
#1FCB1A
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16160F
muted
#858480

Preview Lab

Preview with #E2DF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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