#E8D56D#E8D56D

#E8D56D is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.8% C 0.127 H 99.1°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#E8D56D
RGBrgb(232, 213, 109)
HSLhsl(51, 73%, 67%)
HSVhsv(51, 53%, 91%)
CMYKcmyk(0%, 8.2%, 53%, 9%)
CIE-LABlab(84.92, -6.48, 53.15)
CIE-LCHlch(84.92, 53.54, 96.95°)
OKLaboklab(86.78% -0.0201 0.125)
OKLCHoklch(86.78% 0.127 99.1)
XYZxyz(59.8353, 65.8508, 24.0237)
Luminance0.6585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D56D #6D80E8
analogous
#E8986D #E8D56D #BDE86D
triadic
#E8D56D #6DE8D5 #D56DE8
tetradic
#E8D56D #6DE898 #6D80E8 #E86DBD
square
#E8D56D #6DE898 #6D80E8 #E86DBD
split-complementary
#E8D56D #6DBDE8 #986DE8
monochromatic
#BDA41E #E0C638 #E8D56D #F0E4A2 #F9F3D7

Accessibility & contrast

On white

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

On black

14.17
#E8D56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D56D
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D56D#FFFFFF#000000##000000
##E8D56D1.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D063
Deuteranopia (green-blind)
#EBD772
Tritanopia (blue-blind)
#F8C8BD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e8d56d;
/* rgb */ color: rgb(232, 213, 109);
/* oklch */ color: oklch(86.8% 0.127 99.1);
Tailwind
colors: {
  custom: {
    50: '#f2e199',
    500: '#e8d56d',
    950: '#000000',
  },
}
SCSS
$custom: #e8d56d;
$custom-light: #f2e199;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d56d",
  "rgb": {
    "r": 232,
    "g": 213,
    "b": 109
  },
  "hsl": {
    "h": 50.732,
    "s": 72.781,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86779,
    "c": 0.12665,
    "h": 99.1
  },
  "luminance": 0.65848
}

Semantic roles & 50–950 ramp

primary
#E8D56D
secondary
#3D51BC
accent
#2FD511
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8D56D

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

Preview Lab → · Contrast checker → · Palette generator →

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