#E8D168#E8D168

#E8D168 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.9% C 0.128 H 97.2°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#E8D168
RGBrgb(232, 209, 104)
HSLhsl(49, 74%, 66%)
HSVhsv(49, 55%, 91%)
CMYKcmyk(0%, 9.9%, 55.2%, 9%)
CIE-LABlab(83.84, -4.84, 54.22)
CIE-LCHlch(83.84, 54.44, 95.10°)
OKLaboklab(85.91% -0.016 0.1269)
OKLCHoklch(85.91% 0.128 97.2)
XYZxyz(58.5800, 63.7587, 22.3150)
Luminance0.6376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D168 #687FE8
analogous
#E89168 #E8D168 #BFE868
triadic
#E8D168 #68E8D1 #D168E8
tetradic
#E8D168 #68E891 #687FE8 #E868BF
square
#E8D168 #68E891 #687FE8 #E868BF
split-complementary
#E8D168 #68BFE8 #9168E8
monochromatic
#B99D1C #E0C133 #E8D168 #F0E19D #F8F1D2

Accessibility & contrast

On white

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

On black

13.75
#E8D168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D168
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D168#FFFFFF#000000##000000
##E8D1681.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD5E
Deuteranopia (green-blind)
#E9D46D
Tritanopia (blue-blind)
#F8C4B9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e8d168;
/* rgb */ color: rgb(232, 209, 104);
/* oklch */ color: oklch(85.9% 0.128 97.2);
Tailwind
colors: {
  custom: {
    50: '#f2de96',
    500: '#e8d168',
    950: '#000000',
  },
}
SCSS
$custom: #e8d168;
$custom-light: #f2de96;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d168",
  "rgb": {
    "r": 232,
    "g": 209,
    "b": 104
  },
  "hsl": {
    "h": 49.219,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.85906,
    "c": 0.12787,
    "h": 97.2
  },
  "luminance": 0.63756
}

Semantic roles & 50–950 ramp

primary
#E8D168
secondary
#3B52B9
accent
#33D610
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8D168

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

Preview Lab → · Contrast checker → · Palette generator →

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