#E2E979#E2E979

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

Color values

HEX#E2E979
RGBrgb(226, 233, 121)
HSLhsl(64, 72%, 69%)
HSVhsv(64, 48%, 91%)
CMYKcmyk(3%, 0%, 48.1%, 8.6%)
CIE-LABlab(89.78, -17.80, 53.18)
CIE-LCHlch(89.78, 56.08, 108.51°)
OKLaboklab(90.57% -0.051 0.1263)
OKLCHoklch(90.57% 0.136 112)
XYZxyz(63.9553, 75.8282, 29.3527)
Luminance0.7583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E979 #8079E9
analogous
#E9B879 #E2E979 #AAE979
triadic
#E2E979 #79E2E9 #E979E2
tetradic
#E2E979 #79E9B8 #8079E9 #E979AA
square
#E2E979 #79E9B8 #8079E9 #E979AA
split-complementary
#E2E979 #79AAE9 #B879E9
monochromatic
#BDC721 #D7E044 #E2E979 #EDF2AE #F9FAE2

Accessibility & contrast

On white

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

On black

16.17
#E2E979 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E979
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E979#FFFFFF#000000##000000
##E2E9791.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2e979;
/* rgb */ color: rgb(226, 233, 121);
/* oklch */ color: oklch(90.6% 0.136 112.0);
Tailwind
colors: {
  custom: {
    50: '#edefa2',
    500: '#e2e979',
    950: '#000000',
  },
}
SCSS
$custom: #e2e979;
$custom-light: #edefa2;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e979",
  "rgb": {
    "r": 226,
    "g": 233,
    "b": 121
  },
  "hsl": {
    "h": 63.75,
    "s": 71.795,
    "l": 69.412
  },
  "oklch": {
    "l": 0.9057,
    "c": 0.13617,
    "h": 112
  },
  "luminance": 0.75827
}

Semantic roles & 50–950 ramp

primary
#E2E979
secondary
#4D45C1
accent
#12D41E
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E2E979

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

Preview Lab → · Contrast checker → · Palette generator →

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