#E8D84B#E8D84B

#E8D84B is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.1% C 0.157 H 102.8°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#E8D84B
RGBrgb(232, 216, 75)
HSLhsl(54, 77%, 60%)
HSVhsv(54, 68%, 91%)
CMYKcmyk(0%, 6.9%, 67.7%, 9%)
CIE-LABlab(85.39, -10.25, 68.33)
CIE-LCHlch(85.39, 69.10, 98.53°)
OKLaboklab(87.06% -0.0347 0.153)
OKLCHoklch(87.06% 0.157 102.8)
XYZxyz(59.1070, 66.7780, 16.4312)
Luminance0.6678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D84B #4B5BE8
analogous
#E8894B #E8D84B #AAE84B
triadic
#E8D84B #4BE8D8 #D84BE8
tetradic
#E8D84B #4BE889 #4B5BE8 #E84BAA
square
#E8D84B #4BE889 #4B5BE8 #E84BAA
split-complementary
#E8D84B #4BAAE8 #894BE8
monochromatic
#A49515 #DAC71C #E8D84B #EFE481 #F6F0B8

Accessibility & contrast

On white

1.46
#E8D84B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.36
#E8D84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D84B
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D84B#FFFFFF#000000##000000
##E8D84B1.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD137
Deuteranopia (green-blind)
#F0D954
Tritanopia (blue-blind)
#F9C9BC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e8d84b;
/* rgb */ color: rgb(232, 216, 75);
/* oklch */ color: oklch(87.1% 0.157 102.8);
Tailwind
colors: {
  custom: {
    50: '#f3e385',
    500: '#e8d84b',
    950: '#000000',
  },
}
SCSS
$custom: #e8d84b;
$custom-light: #f3e385;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d84b",
  "rgb": {
    "r": 232,
    "g": 216,
    "b": 75
  },
  "hsl": {
    "h": 53.885,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87056,
    "c": 0.15686,
    "h": 102.8
  },
  "luminance": 0.66776
}

Semantic roles & 50–950 ramp

primary
#E8D84B
secondary
#313DA6
accent
#21DA0C
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8D84B

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

Preview Lab → · Contrast checker → · Palette generator →

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