#E8D45E#E8D45E

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

Color values

HEX#E8D45E
RGBrgb(232, 212, 94)
HSLhsl(51, 75%, 64%)
HSVhsv(51, 59%, 91%)
CMYKcmyk(0%, 8.6%, 59.5%, 9%)
CIE-LABlab(84.51, -7.09, 59.52)
CIE-LCHlch(84.51, 59.94, 96.79°)
OKLaboklab(86.41% -0.0236 0.1371)
OKLCHoklch(86.41% 0.139 99.8)
XYZxyz(58.8449, 65.0534, 20.0444)
Luminance0.6505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D45E #5E72E8
analogous
#E88F5E #E8D45E #B7E85E
triadic
#E8D45E #5EE8D4 #D45EE8
tetradic
#E8D45E #5EE88F #5E72E8 #E85EB7
square
#E8D45E #5EE88F #5E72E8 #E85EB7
split-complementary
#E8D45E #5EB7E8 #8F5EE8
monochromatic
#B29C19 #E0C628 #E8D45E #F0E294 #F7F1C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8D45E#FFFFFF#000000##000000
##E8D45E1.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)
#E6CF51
Deuteranopia (green-blind)
#ECD664
Tritanopia (blue-blind)
#F8C6BA
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e8d45e;
/* rgb */ color: rgb(232, 212, 94);
/* oklch */ color: oklch(86.4% 0.139 99.8);
Tailwind
colors: {
  custom: {
    50: '#f2e090',
    500: '#e8d45e',
    950: '#000000',
  },
}
SCSS
$custom: #e8d45e;
$custom-light: #f2e090;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d45e",
  "rgb": {
    "r": 232,
    "g": 212,
    "b": 94
  },
  "hsl": {
    "h": 51.304,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86406,
    "c": 0.1391,
    "h": 99.8
  },
  "luminance": 0.65051
}

Semantic roles & 50–950 ramp

primary
#E8D45E
secondary
#3849B3
accent
#2BD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D45E

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

Preview Lab → · Contrast checker → · Palette generator →

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