#E8E962#E8E962

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

Color values

HEX#E8E962
RGBrgb(232, 233, 98)
HSLhsl(60, 75%, 65%)
HSVhsv(60, 58%, 91%)
CMYKcmyk(0.4%, 0%, 57.9%, 8.6%)
CIE-LABlab(90.01, -17.26, 63.87)
CIE-LCHlch(90.01, 66.16, 105.12°)
OKLaboklab(90.79% -0.0521 0.1469)
OKLCHoklch(90.79% 0.156 109.5)
XYZxyz(64.6241, 76.3172, 22.8794)
Luminance0.7631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E962 #6362E9
analogous
#E9A662 #E8E962 #A5E962
triadic
#E8E962 #62E8E9 #E962E8
tetradic
#E8E962 #62E9A6 #6362E9 #E962A5
square
#E8E962 #62E9A6 #6362E9 #E962A5
split-complementary
#E8E962 #62A5E9 #A662E9
monochromatic
#B6B71A #E0E12C #E8E962 #F0F198 #F8F8CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8E962#FFFFFF#000000##000000
##E8E9621.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)
#FAE053
Deuteranopia (green-blind)
#FCE56A
Tritanopia (blue-blind)
#F7DCCC
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e8e962;
/* rgb */ color: rgb(232, 233, 98);
/* oklch */ color: oklch(90.8% 0.156 109.5);
Tailwind
colors: {
  custom: {
    50: '#f2ef94',
    500: '#e8e962',
    950: '#000000',
  },
}
SCSS
$custom: #e8e962;
$custom-light: #f2ef94;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e962",
  "rgb": {
    "r": 232,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 60.444,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.90788,
    "c": 0.15582,
    "h": 109.5
  },
  "luminance": 0.76315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E8E962

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

Preview Lab → · Contrast checker → · Palette generator →

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