#E2ED72#E2ED72

#E2ED72 is a very light, vivid yellow. Relative luminance 0.780; OKLCH L 91.3% C 0.147 H 113.6°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#E2ED72
RGBrgb(226, 237, 114)
HSLhsl(65, 77%, 69%)
HSVhsv(65, 52%, 93%)
CMYKcmyk(4.6%, 0%, 51.9%, 7.1%)
CIE-LABlab(90.76, -20.36, 57.56)
CIE-LCHlch(90.76, 61.05, 109.48°)
OKLaboklab(91.33% -0.0589 0.1352)
OKLCHoklch(91.33% 0.147 113.6)
XYZxyz(64.6867, 77.9531, 27.5552)
Luminance0.7795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2ED72 #7D72ED
analogous
#EDBB72 #E2ED72 #A5ED72
triadic
#E2ED72 #72E2ED #ED72E2
tetradic
#E2ED72 #72EDBB #7D72ED #ED72A5
square
#E2ED72 #72EDBB #7D72ED #ED72A5
split-complementary
#E2ED72 #72A5ED #BB72ED
monochromatic
#BBCB1A #D7E63C #E2ED72 #EDF4A8 #F8FBDF

Accessibility & contrast

On white

1.27
#E2ED72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#E2ED72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2ED72
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2ED72#FFFFFF#000000##000000
##E2ED721.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE366
Deuteranopia (green-blind)
#FCE679
Tritanopia (blue-blind)
#EFE1D1
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e2ed72;
/* rgb */ color: rgb(226, 237, 114);
/* oklch */ color: oklch(91.3% 0.147 113.6);
Tailwind
colors: {
  custom: {
    50: '#edf29e',
    500: '#e2ed72',
    950: '#000000',
  },
}
SCSS
$custom: #e2ed72;
$custom-light: #edf29e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ed72",
  "rgb": {
    "r": 226,
    "g": 237,
    "b": 114
  },
  "hsl": {
    "h": 65.366,
    "s": 77.358,
    "l": 68.824
  },
  "oklch": {
    "l": 0.91327,
    "c": 0.14748,
    "h": 113.6
  },
  "luminance": 0.77952
}

Semantic roles & 50–950 ramp

primary
#E2ED72
secondary
#4A3EC6
accent
#0CDA1E
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E2ED72

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

Preview Lab → · Contrast checker → · Palette generator →

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