#E5E962#E5E962

#E5E962 is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 90.5% C 0.156 H 110.7°. Best body text is #000000 at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#E5E962
RGBrgb(229, 233, 98)
HSLhsl(62, 75%, 65%)
HSVhsv(62, 58%, 91%)
CMYKcmyk(1.7%, 0%, 57.9%, 8.6%)
CIE-LABlab(89.78, -18.46, 63.55)
CIE-LCHlch(89.78, 66.18, 106.20°)
OKLaboklab(90.55% -0.0553 0.1462)
OKLCHoklch(90.55% 0.156 110.7)
XYZxyz(63.6583, 75.8192, 22.8341)
Luminance0.7582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E962 #6662E9
analogous
#E9AA62 #E5E962 #A1E962
triadic
#E5E962 #62E5E9 #E962E5
tetradic
#E5E962 #62E9AA #6662E9 #E962A1
square
#E5E962 #62E9AA #6662E9 #E962A1
split-complementary
#E5E962 #62A1E9 #AA62E9
monochromatic
#B2B71A #DCE12C #E5E962 #EEF198 #F7F8CD

Accessibility & contrast

On white

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

On black

16.16
#E5E962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E962
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E962#FFFFFF#000000##000000
##E5E9621.001.3016.1616.16
#FFFFFF1.301.0021.0021.00
#00000016.1621.001.001.00
##00000016.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE053
Deuteranopia (green-blind)
#FBE46A
Tritanopia (blue-blind)
#F3DCCC
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e5e962;
/* rgb */ color: rgb(229, 233, 98);
/* oklch */ color: oklch(90.5% 0.156 110.7);
Tailwind
colors: {
  custom: {
    50: '#f0ef94',
    500: '#e5e962',
    950: '#000000',
  },
}
SCSS
$custom: #e5e962;
$custom-light: #f0ef94;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e962",
  "rgb": {
    "r": 229,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 61.778,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.90547,
    "c": 0.15635,
    "h": 110.7
  },
  "luminance": 0.75818
}

Semantic roles & 50–950 ramp

primary
#E5E962
secondary
#3C38B7
accent
#0ED814
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E5E962

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

Preview Lab → · Contrast checker → · Palette generator →

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