#E8DC5F#E8DC5F

#E8DC5F is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 88.1% C 0.145 H 103.8°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#E8DC5F
RGBrgb(232, 220, 95)
HSLhsl(55, 75%, 64%)
HSVhsv(55, 59%, 91%)
CMYKcmyk(0%, 5.2%, 59.1%, 9%)
CIE-LABlab(86.59, -11.05, 61.39)
CIE-LCHlch(86.59, 62.37, 100.20°)
OKLaboklab(88.06% -0.0348 0.1412)
OKLCHoklch(88.06% 0.145 103.8)
XYZxyz(60.9396, 69.1706, 20.9655)
Luminance0.6917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DC5F #5F6BE8
analogous
#E8985F #E8DC5F #AFE85F
triadic
#E8DC5F #5FE8DC #DC5FE8
tetradic
#E8DC5F #5FE898 #5F6BE8 #E85FAF
square
#E8DC5F #5FE898 #5F6BE8 #E85FAF
split-complementary
#E8DC5F #5FAFE8 #985FE8
monochromatic
#B3A51A #E0D029 #E8DC5F #F0E895 #F7F3CA

Accessibility & contrast

On white

1.42
#E8DC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#E8DC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DC5F
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DC5F#FFFFFF#000000##000000
##E8DC5F1.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED551
Deuteranopia (green-blind)
#F2DC66
Tritanopia (blue-blind)
#F8CEC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e8dc5f;
/* rgb */ color: rgb(232, 220, 95);
/* oklch */ color: oklch(88.1% 0.145 103.8);
Tailwind
colors: {
  custom: {
    50: '#f2e691',
    500: '#e8dc5f',
    950: '#000000',
  },
}
SCSS
$custom: #e8dc5f;
$custom-light: #f2e691;
$custom-dark: #000000;
JSON
{
  "hex": "#e8dc5f",
  "rgb": {
    "r": 232,
    "g": 220,
    "b": 95
  },
  "hsl": {
    "h": 54.745,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.88058,
    "c": 0.14542,
    "h": 103.8
  },
  "luminance": 0.69168
}

Semantic roles & 50–950 ramp

primary
#E8DC5F
secondary
#3843B3
accent
#20D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8DC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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