#E1D862#E1D862

#E1D862 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.7% C 0.139 H 104.9°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#E1D862
RGBrgb(225, 216, 98)
HSLhsl(56, 68%, 63%)
HSVhsv(56, 56%, 88%)
CMYKcmyk(0%, 4%, 56.4%, 11.8%)
CIE-LABlab(85.00, -11.69, 58.13)
CIE-LCHlch(85.00, 59.29, 101.37°)
OKLaboklab(86.66% -0.0359 0.1348)
OKLCHoklch(86.66% 0.139 104.9)
XYZxyz(57.8137, 66.0030, 21.2474)
Luminance0.6600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1D862 #626BE1
analogous
#E19862 #E1D862 #AAE162
triadic
#E1D862 #62E1D8 #D862E1
tetradic
#E1D862 #62E198 #626BE1 #E162AA
square
#E1D862 #62E198 #626BE1 #E162AA
split-complementary
#E1D862 #62AAE1 #9862E1
monochromatic
#A89F20 #D7CB2F #E1D862 #EBE595 #F5F2C9

Accessibility & contrast

On white

1.48
#E1D862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#E1D862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1D862
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1D862#FFFFFF#000000##000000
##E1D8621.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D156
Deuteranopia (green-blind)
#ECD768
Tritanopia (blue-blind)
#F0CBBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e1d862;
/* rgb */ color: rgb(225, 216, 98);
/* oklch */ color: oklch(86.7% 0.139 104.9);
Tailwind
colors: {
  custom: {
    50: '#ede392',
    500: '#e1d862',
    950: '#000000',
  },
}
SCSS
$custom: #e1d862;
$custom-light: #ede392;
$custom-dark: #000000;
JSON
{
  "hex": "#e1d862",
  "rgb": {
    "r": 225,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 55.748,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86663,
    "c": 0.13944,
    "h": 104.9
  },
  "luminance": 0.66001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E1D862

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

Preview Lab → · Contrast checker → · Palette generator →

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