#E4E879#E4E879

#E4E879 is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.5% C 0.135 H 110.6°. Best body text is #000000 at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#E4E879
RGBrgb(228, 232, 121)
HSLhsl(62, 71%, 69%)
HSVhsv(62, 48%, 91%)
CMYKcmyk(1.7%, 0%, 47.8%, 9%)
CIE-LABlab(89.67, -16.53, 53.08)
CIE-LCHlch(89.67, 55.60, 107.30°)
OKLaboklab(90.52% -0.0475 0.126)
OKLCHoklch(90.52% 0.135 110.6)
XYZxyz(64.3040, 75.5890, 29.2882)
Luminance0.7559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E879 #7D79E8
analogous
#E8B579 #E4E879 #ADE879
triadic
#E4E879 #79E4E8 #E879E4
tetradic
#E4E879 #79E8B5 #7D79E8 #E879AD
square
#E4E879 #79E8B5 #7D79E8 #E879AD
split-complementary
#E4E879 #79ADE8 #B579E8
monochromatic
#BFC522 #D9DF45 #E4E879 #EFF1AD #F9FAE1

Accessibility & contrast

On white

1.30
#E4E879 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.12
#E4E879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E879
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E879#FFFFFF#000000##000000
##E4E8791.001.3016.1216.12
#FFFFFF1.301.0021.0021.00
#00000016.1221.001.001.00
##00000016.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E06F
Deuteranopia (green-blind)
#F8E37F
Tritanopia (blue-blind)
#F1DCCE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e4e879;
/* rgb */ color: rgb(228, 232, 121);
/* oklch */ color: oklch(90.5% 0.135 110.6);
Tailwind
colors: {
  custom: {
    50: '#eeefa2',
    500: '#e4e879',
    950: '#000000',
  },
}
SCSS
$custom: #e4e879;
$custom-light: #eeefa2;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e879",
  "rgb": {
    "r": 228,
    "g": 232,
    "b": 121
  },
  "hsl": {
    "h": 62.162,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.90518,
    "c": 0.13467,
    "h": 110.6
  },
  "luminance": 0.75588
}

Semantic roles & 50–950 ramp

primary
#E4E879
secondary
#4945C0
accent
#13D31A
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E4E879

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

Preview Lab → · Contrast checker → · Palette generator →

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