#E2E978#E2E978

#E2E978 is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 90.6% C 0.137 H 112.0°. Best body text is #000000 at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#E2E978
RGBrgb(226, 233, 120)
HSLhsl(64, 72%, 69%)
HSVhsv(64, 48%, 91%)
CMYKcmyk(3%, 0%, 48.5%, 8.6%)
CIE-LABlab(89.77, -17.89, 53.63)
CIE-LCHlch(89.77, 56.54, 108.45°)
OKLaboklab(90.56% -0.0513 0.1272)
OKLCHoklch(90.56% 0.137 112)
XYZxyz(63.8943, 75.8038, 29.0314)
Luminance0.7580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E978 #7F78E9
analogous
#E9B878 #E2E978 #AAE978
triadic
#E2E978 #78E2E9 #E978E2
tetradic
#E2E978 #78E9B8 #7F78E9 #E978AA
square
#E2E978 #78E9B8 #7F78E9 #E978AA
split-complementary
#E2E978 #78AAE9 #B878E9
monochromatic
#BCC620 #D7E043 #E2E978 #EDF2AD #F9FAE1

Accessibility & contrast

On white

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

On black

16.16
#E2E978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E978
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E978#FFFFFF#000000##000000
##E2E9781.001.3016.1616.16
#FFFFFF1.301.0021.0021.00
#00000016.1621.001.001.00
##00000016.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E06E
Deuteranopia (green-blind)
#F8E37E
Tritanopia (blue-blind)
#EEDDCF
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e2e978;
/* rgb */ color: rgb(226, 233, 120);
/* oklch */ color: oklch(90.6% 0.137 112.0);
Tailwind
colors: {
  custom: {
    50: '#edefa1',
    500: '#e2e978',
    950: '#000000',
  },
}
SCSS
$custom: #e2e978;
$custom-light: #edefa1;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e978",
  "rgb": {
    "r": 226,
    "g": 233,
    "b": 120
  },
  "hsl": {
    "h": 63.717,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.90557,
    "c": 0.13715,
    "h": 112
  },
  "luminance": 0.75803
}

Semantic roles & 50–950 ramp

primary
#E2E978
secondary
#4C44C1
accent
#11D41E
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E2E978

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

Preview Lab → · Contrast checker → · Palette generator →

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