#E8D950#E8D950

#E8D950 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.3% C 0.154 H 103.0°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#E8D950
RGBrgb(232, 217, 80)
HSLhsl(54, 77%, 61%)
HSVhsv(54, 66%, 91%)
CMYKcmyk(0%, 6.5%, 65.5%, 9%)
CIE-LABlab(85.69, -10.48, 66.68)
CIE-LCHlch(85.69, 67.50, 98.93°)
OKLaboklab(87.3% -0.0348 0.1503)
OKLCHoklch(87.3% 0.154 103)
XYZxyz(59.5419, 67.3631, 17.4539)
Luminance0.6736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D950 #505FE8
analogous
#E88D50 #E8D950 #ABE850
triadic
#E8D950 #50E8D9 #D950E8
tetradic
#E8D950 #50E88D #505FE8 #E850AB
square
#E8D950 #50E88D #505FE8 #E850AB
split-complementary
#E8D950 #50ABE8 #8D50E8
monochromatic
#A89916 #DECB1D #E8D950 #EFE586 #F6F0BC

Accessibility & contrast

On white

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

On black

14.47
#E8D950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D950
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D950#FFFFFF#000000##000000
##E8D9501.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD23E
Deuteranopia (green-blind)
#F0D958
Tritanopia (blue-blind)
#F9CBBD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e8d950;
/* rgb */ color: rgb(232, 217, 80);
/* oklch */ color: oklch(87.3% 0.154 103.0);
Tailwind
colors: {
  custom: {
    50: '#f3e488',
    500: '#e8d950',
    950: '#000000',
  },
}
SCSS
$custom: #e8d950;
$custom-light: #f3e488;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d950",
  "rgb": {
    "r": 232,
    "g": 217,
    "b": 80
  },
  "hsl": {
    "h": 54.079,
    "s": 76.768,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87302,
    "c": 0.15427,
    "h": 103
  },
  "luminance": 0.67361
}

Semantic roles & 50–950 ramp

primary
#E8D950
secondary
#333FA9
accent
#21D90D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8D950

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

Preview Lab → · Contrast checker → · Palette generator →

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