#E8E960#E8E960

#E8E960 is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 90.8% C 0.157 H 109.6°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#E8E960
RGBrgb(232, 233, 96)
HSLhsl(60, 76%, 65%)
HSVhsv(60, 59%, 91%)
CMYKcmyk(0.4%, 0%, 58.8%, 8.6%)
CIE-LABlab(89.99, -17.40, 64.69)
CIE-LCHlch(89.99, 66.99, 105.05°)
OKLaboklab(90.77% -0.0527 0.1484)
OKLCHoklch(90.77% 0.157 109.6)
XYZxyz(64.5308, 76.2799, 22.3882)
Luminance0.7628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E960 #6160E9
analogous
#E9A660 #E8E960 #A4E960
triadic
#E8E960 #60E8E9 #E960E8
tetradic
#E8E960 #60E9A6 #6160E9 #E960A4
square
#E8E960 #60E9A6 #6160E9 #E960A4
split-complementary
#E8E960 #60A4E9 #A660E9
monochromatic
#B4B519 #E0E22A #E8E960 #F0F096 #F8F8CC

Accessibility & contrast

On white

1.29
#E8E960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.26
#E8E960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E960
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E960#FFFFFF#000000##000000
##E8E9601.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE050
Deuteranopia (green-blind)
#FCE468
Tritanopia (blue-blind)
#F7DCCC
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e8e960;
/* rgb */ color: rgb(232, 233, 96);
/* oklch */ color: oklch(90.8% 0.157 109.6);
Tailwind
colors: {
  custom: {
    50: '#f2ef92',
    500: '#e8e960',
    950: '#000000',
  },
}
SCSS
$custom: #e8e960;
$custom-light: #f2ef92;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e960",
  "rgb": {
    "r": 232,
    "g": 233,
    "b": 96
  },
  "hsl": {
    "h": 60.438,
    "s": 75.691,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90769,
    "c": 0.15744,
    "h": 109.6
  },
  "luminance": 0.76278
}

Semantic roles & 50–950 ramp

primary
#E8E960
secondary
#3938B5
accent
#0ED80F
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E8E960

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

Preview Lab → · Contrast checker → · Palette generator →

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