#E8D45F#E8D45F

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

Color values

HEX#E8D45F
RGBrgb(232, 212, 95)
HSLhsl(51, 75%, 64%)
HSVhsv(51, 59%, 91%)
CMYKcmyk(0%, 8.6%, 59.1%, 9%)
CIE-LABlab(84.52, -7.02, 59.09)
CIE-LCHlch(84.52, 59.51, 96.78°)
OKLaboklab(86.42% -0.0233 0.1363)
OKLCHoklch(86.42% 0.138 99.7)
XYZxyz(58.8900, 65.0714, 20.2823)
Luminance0.6507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D45F #5F73E8
analogous
#E8905F #E8D45F #B8E85F
triadic
#E8D45F #5FE8D4 #D45FE8
tetradic
#E8D45F #5FE890 #5F73E8 #E85FB8
square
#E8D45F #5FE890 #5F73E8 #E85FB8
split-complementary
#E8D45F #5FB8E8 #905FE8
monochromatic
#B39D1A #E0C629 #E8D45F #F0E295 #F7F1CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8D45F#FFFFFF#000000##000000
##E8D45F1.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)
#E6CF53
Deuteranopia (green-blind)
#ECD665
Tritanopia (blue-blind)
#F8C6BA
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e8d45f;
/* rgb */ color: rgb(232, 212, 95);
/* oklch */ color: oklch(86.4% 0.138 99.7);
Tailwind
colors: {
  custom: {
    50: '#f2e090',
    500: '#e8d45f',
    950: '#000000',
  },
}
SCSS
$custom: #e8d45f;
$custom-light: #f2e090;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d45f",
  "rgb": {
    "r": 232,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 51.241,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.86416,
    "c": 0.13827,
    "h": 99.7
  },
  "luminance": 0.65069
}

Semantic roles & 50–950 ramp

primary
#E8D45F
secondary
#384AB3
accent
#2CD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D45F

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

Preview Lab → · Contrast checker → · Palette generator →

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