#E2DF72#E2DF72

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

Color values

HEX#E2DF72
RGBrgb(226, 223, 114)
HSLhsl(58, 66%, 67%)
HSVhsv(58, 50%, 89%)
CMYKcmyk(0%, 1.3%, 49.6%, 11.4%)
CIE-LABlab(87.08, -13.50, 53.23)
CIE-LCHlch(87.08, 54.91, 104.23°)
OKLaboklab(88.39% -0.0394 0.1258)
OKLCHoklch(88.39% 0.132 107.4)
XYZxyz(60.7904, 70.1606, 26.2564)
Luminance0.7016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF72 #7275E2
analogous
#E2A772 #E2DF72 #ADE272
triadic
#E2DF72 #72E2DF #DF72E2
tetradic
#E2DF72 #72E2A7 #7275E2 #E272AD
square
#E2DF72 #72E2A7 #7275E2 #E272AD
split-complementary
#E2DF72 #72ADE2 #A772E2
monochromatic
#B4B125 #D8D33F #E2DF72 #ECEBA5 #F7F6D8

Accessibility & contrast

On white

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

On black

15.03
#E2DF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF72
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF72#FFFFFF#000000##000000
##E2DF721.001.4015.0315.03
#FFFFFF1.401.0021.0021.00
#00000015.0321.001.001.00
##00000015.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED868
Deuteranopia (green-blind)
#F1DC77
Tritanopia (blue-blind)
#F0D3C6
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e2df72;
/* rgb */ color: rgb(226, 223, 114);
/* oklch */ color: oklch(88.4% 0.132 107.4);
Tailwind
colors: {
  custom: {
    50: '#ede89d',
    500: '#e2df72',
    950: '#000000',
  },
}
SCSS
$custom: #e2df72;
$custom-light: #ede89d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df72",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 114
  },
  "hsl": {
    "h": 58.393,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.88389,
    "c": 0.13181,
    "h": 107.4
  },
  "luminance": 0.70159
}

Semantic roles & 50–950 ramp

primary
#E2DF72
secondary
#4346B5
accent
#1DCE18
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E2DF72

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

Preview Lab → · Contrast checker → · Palette generator →

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