#E2E962#E2E962

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

Color values

HEX#E2E962
RGBrgb(226, 233, 98)
HSLhsl(63, 75%, 65%)
HSVhsv(63, 58%, 91%)
CMYKcmyk(3%, 0%, 57.9%, 8.6%)
CIE-LABlab(89.55, -19.67, 63.23)
CIE-LCHlch(89.55, 66.22, 107.28°)
OKLaboklab(90.31% -0.0586 0.1456)
OKLCHoklch(90.31% 0.157 111.9)
XYZxyz(62.7091, 75.3298, 22.7896)
Luminance0.7533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E962 #6962E9
analogous
#E9AC62 #E2E962 #9FE962
triadic
#E2E962 #62E2E9 #E962E2
tetradic
#E2E962 #62E9AC #6962E9 #E9629F
square
#E2E962 #62E9AC #6962E9 #E9629F
split-complementary
#E2E962 #629FE9 #AC62E9
monochromatic
#AFB71A #D8E12C #E2E962 #ECF198 #F6F8CD

Accessibility & contrast

On white

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

On black

16.07
#E2E962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E962
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E962#FFFFFF#000000##000000
##E2E9621.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2e962;
/* rgb */ color: rgb(226, 233, 98);
/* oklch */ color: oklch(90.3% 0.157 111.9);
Tailwind
colors: {
  custom: {
    50: '#eeef93',
    500: '#e2e962',
    950: '#000000',
  },
}
SCSS
$custom: #e2e962;
$custom-light: #eeef93;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e962",
  "rgb": {
    "r": 226,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 63.111,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.90309,
    "c": 0.15696,
    "h": 111.9
  },
  "luminance": 0.75328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2E962

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

Preview Lab → · Contrast checker → · Palette generator →

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