#E8D968#E8D968

#E8D968 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.5% C 0.135 H 101.8°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#E8D968
RGBrgb(232, 217, 104)
HSLhsl(53, 74%, 66%)
HSVhsv(53, 55%, 91%)
CMYKcmyk(0%, 6.5%, 55.2%, 9%)
CIE-LABlab(85.90, -8.89, 56.60)
CIE-LCHlch(85.90, 57.29, 98.93°)
OKLaboklab(87.54% -0.0276 0.132)
OKLCHoklch(87.54% 0.135 101.8)
XYZxyz(60.5923, 67.7832, 22.9858)
Luminance0.6778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D968 #6877E8
analogous
#E89968 #E8D968 #B7E868
triadic
#E8D968 #68E8D9 #D968E8
tetradic
#E8D968 #68E899 #6877E8 #E868B7
square
#E8D968 #68E899 #6877E8 #E868B7
split-complementary
#E8D968 #68B7E8 #9968E8
monochromatic
#B9A71C #E0CC33 #E8D968 #F0E69D #F8F4D2

Accessibility & contrast

On white

1.44
#E8D968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#E8D968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D968
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D968#FFFFFF#000000##000000
##E8D9681.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD35D
Deuteranopia (green-blind)
#EFDA6D
Tritanopia (blue-blind)
#F8CCC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e8d968;
/* rgb */ color: rgb(232, 217, 104);
/* oklch */ color: oklch(87.5% 0.135 101.8);
Tailwind
colors: {
  custom: {
    50: '#f2e496',
    500: '#e8d968',
    950: '#000000',
  },
}
SCSS
$custom: #e8d968;
$custom-light: #f2e496;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d968",
  "rgb": {
    "r": 232,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 52.969,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.87537,
    "c": 0.13486,
    "h": 101.8
  },
  "luminance": 0.67781
}

Semantic roles & 50–950 ramp

primary
#E8D968
secondary
#3B4AB9
accent
#27D610
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8D968

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

Preview Lab → · Contrast checker → · Palette generator →

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