#E1D962#E1D962

#E1D962 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.9% C 0.140 H 105.4°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#E1D962
RGBrgb(225, 217, 98)
HSLhsl(56, 68%, 63%)
HSVhsv(56, 56%, 88%)
CMYKcmyk(0%, 3.6%, 56.4%, 11.8%)
CIE-LABlab(85.26, -12.19, 58.42)
CIE-LCHlch(85.26, 59.68, 101.79°)
OKLaboklab(86.87% -0.0373 0.1354)
OKLCHoklch(86.87% 0.14 105.4)
XYZxyz(58.0706, 66.5170, 21.3330)
Luminance0.6652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1D962 #626AE1
analogous
#E19962 #E1D962 #AAE162
triadic
#E1D962 #62E1D9 #D962E1
tetradic
#E1D962 #62E199 #626AE1 #E162AA
square
#E1D962 #62E199 #626AE1 #E162AA
split-complementary
#E1D962 #62AAE1 #9962E1
monochromatic
#A8A020 #D7CD2F #E1D962 #EBE595 #F5F2C9

Accessibility & contrast

On white

1.47
#E1D962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.30
#E1D962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1D962
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1D962#FFFFFF#000000##000000
##E1D9621.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD256
Deuteranopia (green-blind)
#EDD868
Tritanopia (blue-blind)
#F0CCBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e1d962;
/* rgb */ color: rgb(225, 217, 98);
/* oklch */ color: oklch(86.9% 0.140 105.4);
Tailwind
colors: {
  custom: {
    50: '#ede492',
    500: '#e1d962',
    950: '#000000',
  },
}
SCSS
$custom: #e1d962;
$custom-light: #ede492;
$custom-dark: #000000;
JSON
{
  "hex": "#e1d962",
  "rgb": {
    "r": 225,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 56.22,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86871,
    "c": 0.14042,
    "h": 105.4
  },
  "luminance": 0.66515
}

Semantic roles & 50–950 ramp

primary
#E1D962
secondary
#3D44AB
accent
#21D016
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E1D962

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

Preview Lab → · Contrast checker → · Palette generator →

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