#E8D868#E8D868

#E8D868 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.3% C 0.134 H 101.3°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#E8D868
RGBrgb(232, 216, 104)
HSLhsl(53, 74%, 66%)
HSVhsv(53, 55%, 91%)
CMYKcmyk(0%, 6.9%, 55.2%, 9%)
CIE-LABlab(85.64, -8.39, 56.30)
CIE-LCHlch(85.64, 56.92, 98.47°)
OKLaboklab(87.33% -0.0262 0.1314)
OKLCHoklch(87.33% 0.134 101.3)
XYZxyz(60.3353, 67.2693, 22.9001)
Luminance0.6727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D868 #6878E8
analogous
#E89868 #E8D868 #B8E868
triadic
#E8D868 #68E8D8 #D868E8
tetradic
#E8D868 #68E898 #6878E8 #E868B8
square
#E8D868 #68E898 #6878E8 #E868B8
split-complementary
#E8D868 #68B8E8 #9868E8
monochromatic
#B9A61C #E0CA33 #E8D868 #F0E69D #F8F3D2

Accessibility & contrast

On white

1.45
#E8D868 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.45
#E8D868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D868
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D868#FFFFFF#000000##000000
##E8D8681.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D25D
Deuteranopia (green-blind)
#EED96D
Tritanopia (blue-blind)
#F8CBBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e8d868;
/* rgb */ color: rgb(232, 216, 104);
/* oklch */ color: oklch(87.3% 0.134 101.3);
Tailwind
colors: {
  custom: {
    50: '#f2e396',
    500: '#e8d868',
    950: '#000000',
  },
}
SCSS
$custom: #e8d868;
$custom-light: #f2e396;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d868",
  "rgb": {
    "r": 232,
    "g": 216,
    "b": 104
  },
  "hsl": {
    "h": 52.5,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.87332,
    "c": 0.13394,
    "h": 101.3
  },
  "luminance": 0.67267
}

Semantic roles & 50–950 ramp

primary
#E8D868
secondary
#3B4BB9
accent
#29D610
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8D868

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

Preview Lab → · Contrast checker → · Palette generator →

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