#E8D85F#E8D85F

#E8D85F is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.2% C 0.142 H 101.8°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#E8D85F
RGBrgb(232, 216, 95)
HSLhsl(53, 75%, 64%)
HSVhsv(53, 59%, 91%)
CMYKcmyk(0%, 6.9%, 59.1%, 9%)
CIE-LABlab(85.55, -9.04, 60.24)
CIE-LCHlch(85.55, 60.91, 98.54°)
OKLaboklab(87.24% -0.029 0.1388)
OKLCHoklch(87.24% 0.142 101.8)
XYZxyz(59.9023, 67.0961, 20.6197)
Luminance0.6709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D85F #5F6FE8
analogous
#E8945F #E8D85F #B3E85F
triadic
#E8D85F #5FE8D8 #D85FE8
tetradic
#E8D85F #5FE894 #5F6FE8 #E85FB3
square
#E8D85F #5FE894 #5F6FE8 #E85FB3
split-complementary
#E8D85F #5FB3E8 #945FE8
monochromatic
#B3A11A #E0CB29 #E8D85F #F0E595 #F7F2CA

Accessibility & contrast

On white

1.46
#E8D85F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.42
#E8D85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D85F
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D85F#FFFFFF#000000##000000
##E8D85F1.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD252
Deuteranopia (green-blind)
#EFD965
Tritanopia (blue-blind)
#F8CABE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e8d85f;
/* rgb */ color: rgb(232, 216, 95);
/* oklch */ color: oklch(87.2% 0.142 101.8);
Tailwind
colors: {
  custom: {
    50: '#f2e391',
    500: '#e8d85f',
    950: '#000000',
  },
}
SCSS
$custom: #e8d85f;
$custom-light: #f2e391;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d85f",
  "rgb": {
    "r": 232,
    "g": 216,
    "b": 95
  },
  "hsl": {
    "h": 52.993,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87235,
    "c": 0.14176,
    "h": 101.8
  },
  "luminance": 0.67094
}

Semantic roles & 50–950 ramp

primary
#E8D85F
secondary
#3846B3
accent
#26D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D85F

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

Preview Lab → · Contrast checker → · Palette generator →

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