#E5D962#E5D962

#E5D962 is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.2% C 0.140 H 103.6°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#E5D962
RGBrgb(229, 217, 98)
HSLhsl(55, 72%, 64%)
HSVhsv(55, 57%, 90%)
CMYKcmyk(0%, 5.2%, 57.2%, 10.2%)
CIE-LABlab(85.59, -10.56, 58.88)
CIE-LCHlch(85.59, 59.82, 100.17°)
OKLaboklab(87.21% -0.0329 0.1363)
OKLCHoklch(87.21% 0.14 103.6)
XYZxyz(59.3326, 67.1677, 21.3922)
Luminance0.6717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D962 #626EE5
analogous
#E59862 #E5D962 #B0E562
triadic
#E5D962 #62E5D9 #D962E5
tetradic
#E5D962 #62E598 #626EE5 #E562B0
square
#E5D962 #62E598 #626EE5 #E562B0
split-complementary
#E5D962 #62B0E5 #9862E5
monochromatic
#B0A21D #DCCC2D #E5D962 #EEE697 #F6F2CB

Accessibility & contrast

On white

1.45
#E5D962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#E5D962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D962
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D962#FFFFFF#000000##000000
##E5D9621.001.4514.4314.43
#FFFFFF1.451.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD256
Deuteranopia (green-blind)
#EED968
Tritanopia (blue-blind)
#F4CCBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e5d962;
/* rgb */ color: rgb(229, 217, 98);
/* oklch */ color: oklch(87.2% 0.140 103.6);
Tailwind
colors: {
  custom: {
    50: '#f0e493',
    500: '#e5d962',
    950: '#000000',
  },
}
SCSS
$custom: #e5d962;
$custom-light: #f0e493;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d962",
  "rgb": {
    "r": 229,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 54.504,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87212,
    "c": 0.1402,
    "h": 103.6
  },
  "luminance": 0.67166
}

Semantic roles & 50–950 ramp

primary
#E5D962
secondary
#3B45B1
accent
#24D412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5D962

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

Preview Lab → · Contrast checker → · Palette generator →

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