#E2D562#E2D562

#E2D562 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.1% C 0.137 H 102.9°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#E2D562
RGBrgb(226, 213, 98)
HSLhsl(54, 69%, 64%)
HSVhsv(54, 57%, 89%)
CMYKcmyk(0%, 5.8%, 56.6%, 11.4%)
CIE-LABlab(84.30, -9.78, 57.36)
CIE-LCHlch(84.30, 58.19, 99.67°)
OKLaboklab(86.13% -0.0305 0.1331)
OKLCHoklch(86.13% 0.137 102.9)
XYZxyz(57.3648, 64.6412, 21.0082)
Luminance0.6464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D562 #626FE2
analogous
#E29562 #E2D562 #AFE262
triadic
#E2D562 #62E2D5 #D562E2
tetradic
#E2D562 #62E295 #626FE2 #E262AF
square
#E2D562 #62E295 #626FE2 #E262AF
split-complementary
#E2D562 #62AFE2 #9562E2
monochromatic
#AA9C1F #D8C72E #E2D562 #ECE396 #F5F1C9

Accessibility & contrast

On white

1.51
#E2D562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#E2D562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D562
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D562#FFFFFF#000000##000000
##E2D5621.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF56
Deuteranopia (green-blind)
#EAD568
Tritanopia (blue-blind)
#F1C8BC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e2d562;
/* rgb */ color: rgb(226, 213, 98);
/* oklch */ color: oklch(86.1% 0.137 102.9);
Tailwind
colors: {
  custom: {
    50: '#eee192',
    500: '#e2d562',
    950: '#000000',
  },
}
SCSS
$custom: #e2d562;
$custom-light: #eee192;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d562",
  "rgb": {
    "r": 226,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 53.906,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.86127,
    "c": 0.13652,
    "h": 102.9
  },
  "luminance": 0.64639
}

Semantic roles & 50–950 ramp

primary
#E2D562
secondary
#3C48AC
accent
#28D115
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2D562

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

Preview Lab → · Contrast checker → · Palette generator →

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