#E4F962#E4F962

#E4F962 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 93.9% C 0.174 H 116.6°. Best body text is #000000 at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#E4F962
RGBrgb(228, 249, 98)
HSLhsl(68, 93%, 68%)
HSVhsv(68, 61%, 98%)
CMYKcmyk(8.4%, 0%, 60.6%, 2.4%)
CIE-LABlab(93.94, -26.51, 68.07)
CIE-LCHlch(93.94, 73.05, 111.28°)
OKLaboklab(93.86% -0.0779 0.1558)
OKLCHoklch(93.86% 0.174 116.6)
XYZxyz(68.0765, 85.1280, 24.3980)
Luminance0.8513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4F962 #7762F9
analogous
#F9C262 #E4F962 #99F962
triadic
#E4F962 #62E4F9 #F962E4
tetradic
#E4F962 #62F9C2 #7762F9 #F96299
square
#E4F962 #62F9C2 #7762F9 #F96299
split-complementary
#E4F962 #6299F9 #C262F9
monochromatic
#BBD808 #DAF727 #E4F962 #EEFB9D #F8FED8

Accessibility & contrast

On white

1.17
#E4F962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.03
#E4F962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4F962
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4F962#FFFFFF#000000##000000
##E4F9621.001.1718.0318.03
#FFFFFF1.171.0021.0021.00
#00000018.0321.001.001.00
##00000018.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED50
Deuteranopia (green-blind)
#FFEF6C
Tritanopia (blue-blind)
#F1ECD9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #e4f962;
/* rgb */ color: rgb(228, 249, 98);
/* oklch */ color: oklch(93.9% 0.174 116.6);
Tailwind
colors: {
  custom: {
    50: '#effb95',
    500: '#e4f962',
    950: '#000000',
  },
}
SCSS
$custom: #e4f962;
$custom-light: #effb95;
$custom-dark: #000000;
JSON
{
  "hex": "#e4f962",
  "rgb": {
    "r": 228,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 68.344,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.93861,
    "c": 0.17425,
    "h": 116.6
  },
  "luminance": 0.85127
}

Semantic roles & 50–950 ramp

primary
#E4F962
secondary
#442DD2
accent
#00E620
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #E4F962

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

Preview Lab → · Contrast checker → · Palette generator →

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