#E8D55F#E8D55F

#E8D55F is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.6% C 0.139 H 100.2°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#E8D55F
RGBrgb(232, 213, 95)
HSLhsl(52, 75%, 64%)
HSVhsv(52, 59%, 91%)
CMYKcmyk(0%, 8.2%, 59.1%, 9%)
CIE-LABlab(84.78, -7.53, 59.38)
CIE-LCHlch(84.78, 59.85, 97.23°)
OKLaboklab(86.62% -0.0247 0.1369)
OKLCHoklch(86.62% 0.139 100.2)
XYZxyz(59.1408, 65.5729, 20.3659)
Luminance0.6557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D55F #5F72E8
analogous
#E8915F #E8D55F #B7E85F
triadic
#E8D55F #5FE8D5 #D55FE8
tetradic
#E8D55F #5FE891 #5F72E8 #E85FB7
square
#E8D55F #5FE891 #5F72E8 #E85FB7
split-complementary
#E8D55F #5FB7E8 #915FE8
monochromatic
#B39E1A #E0C729 #E8D55F #F0E395 #F7F1CA

Accessibility & contrast

On white

1.49
#E8D55F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.11
#E8D55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D55F
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D55F#FFFFFF#000000##000000
##E8D55F1.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF52
Deuteranopia (green-blind)
#EDD765
Tritanopia (blue-blind)
#F8C7BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e8d55f;
/* rgb */ color: rgb(232, 213, 95);
/* oklch */ color: oklch(86.6% 0.139 100.2);
Tailwind
colors: {
  custom: {
    50: '#f2e190',
    500: '#e8d55f',
    950: '#000000',
  },
}
SCSS
$custom: #e8d55f;
$custom-light: #f2e190;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d55f",
  "rgb": {
    "r": 232,
    "g": 213,
    "b": 95
  },
  "hsl": {
    "h": 51.679,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8662,
    "c": 0.13912,
    "h": 100.2
  },
  "luminance": 0.65571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E8D55F

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

Preview Lab → · Contrast checker → · Palette generator →

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