#E9D562#E9D562

#E9D562 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.7% C 0.137 H 99.5°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#E9D562
RGBrgb(233, 213, 98)
HSLhsl(51, 75%, 65%)
HSVhsv(51, 58%, 91%)
CMYKcmyk(0%, 8.6%, 57.9%, 8.6%)
CIE-LABlab(84.89, -6.91, 58.19)
CIE-LCHlch(84.89, 58.60, 96.77°)
OKLaboklab(86.74% -0.0226 0.1347)
OKLCHoklch(86.74% 0.137 99.5)
XYZxyz(59.6054, 65.7964, 21.1132)
Luminance0.6579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D562 #6276E9
analogous
#E99162 #E9D562 #BAE962
triadic
#E9D562 #62E9D5 #D562E9
tetradic
#E9D562 #62E991 #6276E9 #E962BA
square
#E9D562 #62E991 #6276E9 #E962BA
split-complementary
#E9D562 #62BAE9 #9162E9
monochromatic
#B7A01A #E1C72C #E9D562 #F1E398 #F8F2CD

Accessibility & contrast

On white

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

On black

14.16
#E9D562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9D562
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9D562#FFFFFF#000000##000000
##E9D5621.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D056
Deuteranopia (green-blind)
#EDD768
Tritanopia (blue-blind)
#F9C7BC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e9d562;
/* rgb */ color: rgb(233, 213, 98);
/* oklch */ color: oklch(86.7% 0.137 99.5);
Tailwind
colors: {
  custom: {
    50: '#f3e192',
    500: '#e9d562',
    950: '#000000',
  },
}
SCSS
$custom: #e9d562;
$custom-light: #f3e192;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d562",
  "rgb": {
    "r": 233,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 51.111,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86741,
    "c": 0.13661,
    "h": 99.5
  },
  "luminance": 0.65794
}

Semantic roles & 50–950 ramp

primary
#E9D562
secondary
#384BB7
accent
#2CD80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E9D562

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

Preview Lab → · Contrast checker → · Palette generator →

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