#E8D95F#E8D95F

#E8D95F is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.4% C 0.143 H 102.3°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#E8D95F
RGBrgb(232, 217, 95)
HSLhsl(53, 75%, 64%)
HSVhsv(53, 59%, 91%)
CMYKcmyk(0%, 6.5%, 59.1%, 9%)
CIE-LABlab(85.81, -9.54, 60.53)
CIE-LCHlch(85.81, 61.27, 98.96°)
OKLaboklab(87.44% -0.0305 0.1394)
OKLCHoklch(87.44% 0.143 102.3)
XYZxyz(60.1593, 67.6100, 20.7054)
Luminance0.6761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D95F #5F6EE8
analogous
#E8955F #E8D95F #B2E85F
triadic
#E8D95F #5FE8D9 #D95FE8
tetradic
#E8D95F #5FE895 #5F6EE8 #E85FB2
square
#E8D95F #5FE895 #5F6EE8 #E85FB2
split-complementary
#E8D95F #5FB2E8 #955FE8
monochromatic
#B3A21A #E0CC29 #E8D95F #F0E695 #F7F2CA

Accessibility & contrast

On white

1.45
#E8D95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.52
#E8D95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D95F
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D95F#FFFFFF#000000##000000
##E8D95F1.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD352
Deuteranopia (green-blind)
#F0DA65
Tritanopia (blue-blind)
#F8CBBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e8d95f;
/* rgb */ color: rgb(232, 217, 95);
/* oklch */ color: oklch(87.4% 0.143 102.3);
Tailwind
colors: {
  custom: {
    50: '#f2e491',
    500: '#e8d95f',
    950: '#000000',
  },
}
SCSS
$custom: #e8d95f;
$custom-light: #f2e491;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d95f",
  "rgb": {
    "r": 232,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 53.431,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8744,
    "c": 0.14265,
    "h": 102.3
  },
  "luminance": 0.67608
}

Semantic roles & 50–950 ramp

primary
#E8D95F
secondary
#3845B3
accent
#24D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D95F

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

Preview Lab → · Contrast checker → · Palette generator →

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