#E5D562#E5D562

#E5D562 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.4% C 0.137 H 101.5°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#E5D562
RGBrgb(229, 213, 98)
HSLhsl(53, 72%, 64%)
HSVhsv(53, 57%, 90%)
CMYKcmyk(0%, 7%, 57.2%, 10.2%)
CIE-LABlab(84.55, -8.55, 57.71)
CIE-LCHlch(84.55, 58.34, 98.42°)
OKLaboklab(86.39% -0.0271 0.1338)
OKLCHoklch(86.39% 0.137 101.5)
XYZxyz(58.3140, 65.1306, 21.0527)
Luminance0.6513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D562 #6272E5
analogous
#E59462 #E5D562 #B4E562
triadic
#E5D562 #62E5D5 #D562E5
tetradic
#E5D562 #62E594 #6272E5 #E562B4
square
#E5D562 #62E594 #6272E5 #E562B4
split-complementary
#E5D562 #62B4E5 #9462E5
monochromatic
#B09E1D #DCC72D #E5D562 #EEE397 #F6F1CB

Accessibility & contrast

On white

1.50
#E5D562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#E5D562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D562
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D562#FFFFFF#000000##000000
##E5D5621.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF56
Deuteranopia (green-blind)
#EBD668
Tritanopia (blue-blind)
#F5C8BC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e5d562;
/* rgb */ color: rgb(229, 213, 98);
/* oklch */ color: oklch(86.4% 0.137 101.5);
Tailwind
colors: {
  custom: {
    50: '#f0e192',
    500: '#e5d562',
    950: '#000000',
  },
}
SCSS
$custom: #e5d562;
$custom-light: #f0e192;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d562",
  "rgb": {
    "r": 229,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 52.672,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.86388,
    "c": 0.1365,
    "h": 101.5
  },
  "luminance": 0.65128
}

Semantic roles & 50–950 ramp

primary
#E5D562
secondary
#3B49B1
accent
#2AD412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5D562

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

Preview Lab → · Contrast checker → · Palette generator →

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