#E4D562#E4D562

#E4D562 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.3% C 0.137 H 101.9°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#E4D562
RGBrgb(228, 213, 98)
HSLhsl(53, 71%, 64%)
HSVhsv(53, 57%, 89%)
CMYKcmyk(0%, 6.6%, 57%, 10.6%)
CIE-LABlab(84.47, -8.96, 57.60)
CIE-LCHlch(84.47, 58.29, 98.84°)
OKLaboklab(86.3% -0.0282 0.1336)
OKLCHoklch(86.3% 0.137 101.9)
XYZxyz(57.9958, 64.9665, 21.0377)
Luminance0.6496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D562 #6271E4
analogous
#E49462 #E4D562 #B2E462
triadic
#E4D562 #62E4D5 #D562E4
tetradic
#E4D562 #62E494 #6271E4 #E462B2
square
#E4D562 #62E494 #6271E4 #E462B2
split-complementary
#E4D562 #62B2E4 #9462E4
monochromatic
#AE9D1E #DBC72E #E4D562 #EDE396 #F6F1CA

Accessibility & contrast

On white

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

On black

13.99
#E4D562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D562
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D562#FFFFFF#000000##000000
##E4D5621.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4d562;
/* rgb */ color: rgb(228, 213, 98);
/* oklch */ color: oklch(86.3% 0.137 101.9);
Tailwind
colors: {
  custom: {
    50: '#efe192',
    500: '#e4d562',
    950: '#000000',
  },
}
SCSS
$custom: #e4d562;
$custom-light: #efe192;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d562",
  "rgb": {
    "r": 228,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 53.077,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86301,
    "c": 0.1365,
    "h": 101.9
  },
  "luminance": 0.64964
}

Semantic roles & 50–950 ramp

primary
#E4D562
secondary
#3B49AF
accent
#29D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D562

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

Preview Lab → · Contrast checker → · Palette generator →

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