#E8DB5F#E8DB5F

#E8DB5F is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 87.9% C 0.144 H 103.3°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#E8DB5F
RGBrgb(232, 219, 95)
HSLhsl(54, 75%, 64%)
HSVhsv(54, 59%, 91%)
CMYKcmyk(0%, 5.6%, 59.1%, 9%)
CIE-LABlab(86.33, -10.55, 61.10)
CIE-LCHlch(86.33, 62.00, 99.79°)
OKLaboklab(87.85% -0.0333 0.1406)
OKLCHoklch(87.85% 0.144 103.3)
XYZxyz(60.6779, 68.6473, 20.8783)
Luminance0.6865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DB5F #5F6CE8
analogous
#E8975F #E8DB5F #B0E85F
triadic
#E8DB5F #5FE8DB #DB5FE8
tetradic
#E8DB5F #5FE897 #5F6CE8 #E85FB0
square
#E8DB5F #5FE897 #5F6CE8 #E85FB0
split-complementary
#E8DB5F #5FB0E8 #975FE8
monochromatic
#B3A41A #E0CF29 #E8DB5F #F0E795 #F7F3CA

Accessibility & contrast

On white

1.43
#E8DB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.73
#E8DB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DB5F
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DB5F#FFFFFF#000000##000000
##E8DB5F1.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD451
Deuteranopia (green-blind)
#F1DB66
Tritanopia (blue-blind)
#F8CDC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e8db5f;
/* rgb */ color: rgb(232, 219, 95);
/* oklch */ color: oklch(87.9% 0.144 103.3);
Tailwind
colors: {
  custom: {
    50: '#f2e591',
    500: '#e8db5f',
    950: '#000000',
  },
}
SCSS
$custom: #e8db5f;
$custom-light: #f2e591;
$custom-dark: #000000;
JSON
{
  "hex": "#e8db5f",
  "rgb": {
    "r": 232,
    "g": 219,
    "b": 95
  },
  "hsl": {
    "h": 54.307,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87852,
    "c": 0.14448,
    "h": 103.3
  },
  "luminance": 0.68645
}

Semantic roles & 50–950 ramp

primary
#E8DB5F
secondary
#3844B3
accent
#22D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8DB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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