#E2E879#E2E879

#E2E879 is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.4% C 0.135 H 111.6°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#E2E879
RGBrgb(226, 232, 121)
HSLhsl(63, 71%, 69%)
HSVhsv(63, 48%, 91%)
CMYKcmyk(2.6%, 0%, 47.8%, 9%)
CIE-LABlab(89.52, -17.31, 52.86)
CIE-LCHlch(89.52, 55.63, 108.14°)
OKLaboklab(90.36% -0.0496 0.1256)
OKLCHoklch(90.36% 0.135 111.6)
XYZxyz(63.6730, 75.2637, 29.2586)
Luminance0.7526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E879 #7F79E8
analogous
#E8B779 #E2E879 #ABE879
triadic
#E2E879 #79E2E8 #E879E2
tetradic
#E2E879 #79E8B7 #7F79E8 #E879AB
square
#E2E879 #79E8B7 #7F79E8 #E879AB
split-complementary
#E2E879 #79ABE8 #B779E8
monochromatic
#BCC522 #D7DF45 #E2E879 #EDF1AD #F9FAE1

Accessibility & contrast

On white

1.31
#E2E879 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.05
#E2E879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E879
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E879#FFFFFF#000000##000000
##E2E8791.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF6F
Deuteranopia (green-blind)
#F7E37F
Tritanopia (blue-blind)
#EEDDCE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e2e879;
/* rgb */ color: rgb(226, 232, 121);
/* oklch */ color: oklch(90.4% 0.135 111.6);
Tailwind
colors: {
  custom: {
    50: '#edefa2',
    500: '#e2e879',
    950: '#000000',
  },
}
SCSS
$custom: #e2e879;
$custom-light: #edefa2;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e879",
  "rgb": {
    "r": 226,
    "g": 232,
    "b": 121
  },
  "hsl": {
    "h": 63.243,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.9036,
    "c": 0.13501,
    "h": 111.6
  },
  "luminance": 0.75262
}

Semantic roles & 50–950 ramp

primary
#E2E879
secondary
#4C45C0
accent
#13D31D
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E2E879

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

Preview Lab → · Contrast checker → · Palette generator →

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