#E8D45D#E8D45D

#E8D45D is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.4% C 0.140 H 99.8°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#E8D45D
RGBrgb(232, 212, 93)
HSLhsl(51, 75%, 64%)
HSVhsv(51, 60%, 91%)
CMYKcmyk(0%, 8.6%, 59.9%, 9%)
CIE-LABlab(84.50, -7.16, 59.95)
CIE-LCHlch(84.50, 60.38, 96.81°)
OKLaboklab(86.4% -0.0239 0.1379)
OKLCHoklch(86.4% 0.14 99.8)
XYZxyz(58.8003, 65.0355, 19.8096)
Luminance0.6503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D45D #5D71E8
analogous
#E88E5D #E8D45D #B6E85D
triadic
#E8D45D #5DE8D4 #D45DE8
tetradic
#E8D45D #5DE88E #5D71E8 #E85DB6
square
#E8D45D #5DE88E #5D71E8 #E85DB6
split-complementary
#E8D45D #5DB6E8 #8E5DE8
monochromatic
#B19C19 #E0C627 #E8D45D #F0E293 #F7F0C8

Accessibility & contrast

On white

1.50
#E8D45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.01
#E8D45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D45D
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D45D#FFFFFF#000000##000000
##E8D45D1.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF50
Deuteranopia (green-blind)
#ECD663
Tritanopia (blue-blind)
#F9C6BA
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e8d45d;
/* rgb */ color: rgb(232, 212, 93);
/* oklch */ color: oklch(86.4% 0.140 99.8);
Tailwind
colors: {
  custom: {
    50: '#f2e08f',
    500: '#e8d45d',
    950: '#000000',
  },
}
SCSS
$custom: #e8d45d;
$custom-light: #f2e08f;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d45d",
  "rgb": {
    "r": 232,
    "g": 212,
    "b": 93
  },
  "hsl": {
    "h": 51.367,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.86396,
    "c": 0.13993,
    "h": 99.8
  },
  "luminance": 0.65033
}

Semantic roles & 50–950 ramp

primary
#E8D45D
secondary
#3749B2
accent
#2BD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D45D

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

Preview Lab → · Contrast checker → · Palette generator →

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