#E4E962#E4E962

#E4E962 is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.5% C 0.157 H 111.1°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#E4E962
RGBrgb(228, 233, 98)
HSLhsl(62, 75%, 65%)
HSVhsv(62, 58%, 91%)
CMYKcmyk(2.1%, 0%, 57.9%, 8.6%)
CIE-LABlab(89.70, -18.87, 63.44)
CIE-LCHlch(89.70, 66.19, 106.56°)
OKLaboklab(90.47% -0.0564 0.146)
OKLCHoklch(90.47% 0.157 111.1)
XYZxyz(63.3401, 75.6551, 22.8192)
Luminance0.7565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E962 #6762E9
analogous
#E9AA62 #E4E962 #A1E962
triadic
#E4E962 #62E4E9 #E962E4
tetradic
#E4E962 #62E9AA #6762E9 #E962A1
square
#E4E962 #62E9AA #6762E9 #E962A1
split-complementary
#E4E962 #62A1E9 #AA62E9
monochromatic
#B1B71A #DBE12C #E4E962 #EDF198 #F6F8CD

Accessibility & contrast

On white

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

On black

16.13
#E4E962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E962
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E962#FFFFFF#000000##000000
##E4E9621.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4e962;
/* rgb */ color: rgb(228, 233, 98);
/* oklch */ color: oklch(90.5% 0.157 111.1);
Tailwind
colors: {
  custom: {
    50: '#efef93',
    500: '#e4e962',
    950: '#000000',
  },
}
SCSS
$custom: #e4e962;
$custom-light: #efef93;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e962",
  "rgb": {
    "r": 228,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 62.222,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.90468,
    "c": 0.15655,
    "h": 111.1
  },
  "luminance": 0.75654
}

Semantic roles & 50–950 ramp

primary
#E4E962
secondary
#3D38B7
accent
#0ED815
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E4E962

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

Preview Lab → · Contrast checker → · Palette generator →

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