#E8D56B#E8D56B

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

Color values

HEX#E8D56B
RGBrgb(232, 213, 107)
HSLhsl(51, 73%, 66%)
HSVhsv(51, 54%, 91%)
CMYKcmyk(0%, 8.2%, 53.9%, 9%)
CIE-LABlab(84.90, -6.64, 54.06)
CIE-LCHlch(84.90, 54.46, 97.00°)
OKLaboklab(86.76% -0.0208 0.1268)
OKLCHoklch(86.76% 0.129 99.3)
XYZxyz(59.7288, 65.8082, 23.4631)
Luminance0.6581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D56B #6B7EE8
analogous
#E8976B #E8D56B #BDE86B
triadic
#E8D56B #6BE8D5 #D56BE8
tetradic
#E8D56B #6BE897 #6B7EE8 #E86BBD
square
#E8D56B #6BE897 #6B7EE8 #E86BBD
split-complementary
#E8D56B #6BBDE8 #976BE8
monochromatic
#BBA31D #E0C636 #E8D56B #F0E4A0 #F8F3D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8D56B#FFFFFF#000000##000000
##E8D56B1.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)
#E6D061
Deuteranopia (green-blind)
#ECD770
Tritanopia (blue-blind)
#F8C8BD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e8d56b;
/* rgb */ color: rgb(232, 213, 107);
/* oklch */ color: oklch(86.8% 0.129 99.3);
Tailwind
colors: {
  custom: {
    50: '#f2e198',
    500: '#e8d56b',
    950: '#000000',
  },
}
SCSS
$custom: #e8d56b;
$custom-light: #f2e198;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d56b",
  "rgb": {
    "r": 232,
    "g": 213,
    "b": 107
  },
  "hsl": {
    "h": 50.88,
    "s": 73.099,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86755,
    "c": 0.12852,
    "h": 99.3
  },
  "luminance": 0.65806
}

Semantic roles & 50–950 ramp

primary
#E8D56B
secondary
#3C50BB
accent
#2ED510
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8D56B

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

Preview Lab → · Contrast checker → · Palette generator →

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