#E8D155#E8D155

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

Color values

HEX#E8D155
RGBrgb(232, 209, 85)
HSLhsl(51, 76%, 62%)
HSVhsv(51, 63%, 91%)
CMYKcmyk(0%, 9.9%, 63.4%, 9%)
CIE-LABlab(83.66, -6.15, 62.49)
CIE-LCHlch(83.66, 62.79, 95.62°)
OKLaboklab(85.71% -0.0219 0.1422)
OKLCHoklch(85.71% 0.144 98.8)
XYZxyz(57.7213, 63.4152, 17.7925)
Luminance0.6341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D155 #556CE8
analogous
#E88755 #E8D155 #B6E855
triadic
#E8D155 #55E8D1 #D155E8
tetradic
#E8D155 #55E887 #556CE8 #E855B6
square
#E8D155 #55E887 #556CE8 #E855B6
split-complementary
#E8D155 #55B6E8 #8755E8
monochromatic
#AB9417 #E1C21F #E8D155 #EFE08B #F7EEC1

Accessibility & contrast

On white

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

On black

13.68
#E8D155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D155
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D155#FFFFFF#000000##000000
##E8D1551.001.5313.6813.68
#FFFFFF1.531.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8d155;
/* rgb */ color: rgb(232, 209, 85);
/* oklch */ color: oklch(85.7% 0.144 98.8);
Tailwind
colors: {
  custom: {
    50: '#f3de8a',
    500: '#e8d155',
    950: '#000000',
  },
}
SCSS
$custom: #e8d155;
$custom-light: #f3de8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d155",
  "rgb": {
    "r": 232,
    "g": 209,
    "b": 85
  },
  "hsl": {
    "h": 50.612,
    "s": 76.166,
    "l": 62.157
  },
  "oklch": {
    "l": 0.85706,
    "c": 0.14385,
    "h": 98.8
  },
  "luminance": 0.63413
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E8D155

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

Preview Lab → · Contrast checker → · Palette generator →

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