#E2E960#E2E960

#E2E960 is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.3% C 0.159 H 111.9°. Best body text is #000000 at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#E2E960
RGBrgb(226, 233, 96)
HSLhsl(63, 76%, 65%)
HSVhsv(63, 59%, 91%)
CMYKcmyk(3%, 0%, 58.8%, 8.6%)
CIE-LABlab(89.53, -19.81, 64.06)
CIE-LCHlch(89.53, 67.05, 107.18°)
OKLaboklab(90.29% -0.0592 0.1471)
OKLCHoklch(90.29% 0.159 111.9)
XYZxyz(62.6159, 75.2925, 22.2985)
Luminance0.7529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E960 #6760E9
analogous
#E9AC60 #E2E960 #9DE960
triadic
#E2E960 #60E2E9 #E960E2
tetradic
#E2E960 #60E9AC #6760E9 #E9609D
square
#E2E960 #60E9AC #6760E9 #E9609D
split-complementary
#E2E960 #609DE9 #AC60E9
monochromatic
#ADB519 #D8E22A #E2E960 #ECF096 #F6F8CC

Accessibility & contrast

On white

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

On black

16.06
#E2E960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E960
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E960#FFFFFF#000000##000000
##E2E9601.001.3116.0616.06
#FFFFFF1.311.0021.0021.00
#00000016.0621.001.001.00
##00000016.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF50
Deuteranopia (green-blind)
#FAE368
Tritanopia (blue-blind)
#F0DCCC
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e2e960;
/* rgb */ color: rgb(226, 233, 96);
/* oklch */ color: oklch(90.3% 0.159 111.9);
Tailwind
colors: {
  custom: {
    50: '#eeef92',
    500: '#e2e960',
    950: '#000000',
  },
}
SCSS
$custom: #e2e960;
$custom-light: #eeef92;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e960",
  "rgb": {
    "r": 226,
    "g": 233,
    "b": 96
  },
  "hsl": {
    "h": 63.066,
    "s": 75.691,
    "l": 64.51
  },
  "oklch": {
    "l": 0.9029,
    "c": 0.15859,
    "h": 111.9
  },
  "luminance": 0.75291
}

Semantic roles & 50–950 ramp

primary
#E2E960
secondary
#3E38B5
accent
#0ED818
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E2E960

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

Preview Lab → · Contrast checker → · Palette generator →

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