#E8D156#E8D156

#E8D156 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.7% C 0.143 H 98.7°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#E8D156
RGBrgb(232, 209, 86)
HSLhsl(51, 76%, 62%)
HSVhsv(51, 63%, 91%)
CMYKcmyk(0%, 9.9%, 62.9%, 9%)
CIE-LABlab(83.67, -6.09, 62.07)
CIE-LCHlch(83.67, 62.37, 95.60°)
OKLaboklab(85.72% -0.0216 0.1414)
OKLCHoklch(85.72% 0.143 98.7)
XYZxyz(57.7613, 63.4312, 18.0032)
Luminance0.6343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D156 #566DE8
analogous
#E88856 #E8D156 #B6E856
triadic
#E8D156 #56E8D1 #D156E8
tetradic
#E8D156 #56E888 #566DE8 #E856B6
square
#E8D156 #56E888 #566DE8 #E856B6
split-complementary
#E8D156 #56B6E8 #8856E8
monochromatic
#AC9517 #E1C220 #E8D156 #EFE08C #F7EEC2

Accessibility & contrast

On white

1.53
#E8D156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#E8D156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D156
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D156#FFFFFF#000000##000000
##E8D1561.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC48
Deuteranopia (green-blind)
#EAD45C
Tritanopia (blue-blind)
#F9C3B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e8d156;
/* rgb */ color: rgb(232, 209, 86);
/* oklch */ color: oklch(85.7% 0.143 98.7);
Tailwind
colors: {
  custom: {
    50: '#f3de8b',
    500: '#e8d156',
    950: '#000000',
  },
}
SCSS
$custom: #e8d156;
$custom-light: #f3de8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d156",
  "rgb": {
    "r": 232,
    "g": 209,
    "b": 86
  },
  "hsl": {
    "h": 50.548,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.85715,
    "c": 0.14307,
    "h": 98.7
  },
  "luminance": 0.63429
}

Semantic roles & 50–950 ramp

primary
#E8D156
secondary
#3548AD
accent
#2DD80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8D156

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

Preview Lab → · Contrast checker → · Palette generator →

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