#E5D862#E5D862

#E5D862 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.0% C 0.139 H 103.0°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#E5D862
RGBrgb(229, 216, 98)
HSLhsl(54, 72%, 64%)
HSVhsv(54, 57%, 90%)
CMYKcmyk(0%, 5.7%, 57.2%, 10.2%)
CIE-LABlab(85.33, -10.06, 58.59)
CIE-LCHlch(85.33, 59.45, 99.74°)
OKLaboklab(87.01% -0.0314 0.1357)
OKLCHoklch(87.01% 0.139 103)
XYZxyz(59.0756, 66.6537, 21.3065)
Luminance0.6665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D862 #626FE5
analogous
#E59762 #E5D862 #B1E562
triadic
#E5D862 #62E5D8 #D862E5
tetradic
#E5D862 #62E597 #626FE5 #E562B1
square
#E5D862 #62E597 #626FE5 #E562B1
split-complementary
#E5D862 #62B1E5 #9762E5
monochromatic
#B0A11D #DCCB2D #E5D862 #EEE597 #F6F2CB

Accessibility & contrast

On white

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

On black

14.33
#E5D862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D862
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D862#FFFFFF#000000##000000
##E5D8621.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D256
Deuteranopia (green-blind)
#EED868
Tritanopia (blue-blind)
#F5CBBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e5d862;
/* rgb */ color: rgb(229, 216, 98);
/* oklch */ color: oklch(87.0% 0.139 103.0);
Tailwind
colors: {
  custom: {
    50: '#f0e392',
    500: '#e5d862',
    950: '#000000',
  },
}
SCSS
$custom: #e5d862;
$custom-light: #f0e392;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d862",
  "rgb": {
    "r": 229,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 54.046,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87006,
    "c": 0.13926,
    "h": 103
  },
  "luminance": 0.66652
}

Semantic roles & 50–950 ramp

primary
#E5D862
secondary
#3B46B1
accent
#25D412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5D862

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

Preview Lab → · Contrast checker → · Palette generator →

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