#E5F962#E5F962

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

Color values

HEX#E5F962
RGBrgb(229, 249, 98)
HSLhsl(68, 93%, 68%)
HSVhsv(68, 61%, 98%)
CMYKcmyk(8%, 0%, 60.6%, 2.4%)
CIE-LABlab(94.01, -26.12, 68.17)
CIE-LCHlch(94.01, 73.00, 110.97°)
OKLaboklab(93.94% -0.0769 0.156)
OKLCHoklch(93.94% 0.174 116.2)
XYZxyz(68.3948, 85.2921, 24.4129)
Luminance0.8529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5F962 #7662F9
analogous
#F9C162 #E5F962 #99F962
triadic
#E5F962 #62E5F9 #F962E5
tetradic
#E5F962 #62F9C1 #7662F9 #F96299
square
#E5F962 #62F9C1 #7662F9 #F96299
split-complementary
#E5F962 #6299F9 #C162F9
monochromatic
#BDD808 #DBF727 #E5F962 #EFFB9D #F9FED8

Accessibility & contrast

On white

1.16
#E5F962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.06
#E5F962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5F962
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5F962#FFFFFF#000000##000000
##E5F9621.001.1618.0618.06
#FFFFFF1.161.0021.0021.00
#00000018.0621.001.001.00
##00000018.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5f962;
/* rgb */ color: rgb(229, 249, 98);
/* oklch */ color: oklch(93.9% 0.174 116.2);
Tailwind
colors: {
  custom: {
    50: '#f0fb95',
    500: '#e5f962',
    950: '#000000',
  },
}
SCSS
$custom: #e5f962;
$custom-light: #f0fb95;
$custom-dark: #000000;
JSON
{
  "hex": "#e5f962",
  "rgb": {
    "r": 229,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 67.947,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.93935,
    "c": 0.17396,
    "h": 116.2
  },
  "luminance": 0.85291
}

Semantic roles & 50–950 ramp

primary
#E5F962
secondary
#432DD2
accent
#00E61E
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #E5F962

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

Preview Lab → · Contrast checker → · Palette generator →

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