#E5D84C#E5D84C

#E5D84C is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.8% C 0.156 H 104.0°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#E5D84C
RGBrgb(229, 216, 76)
HSLhsl(55, 75%, 60%)
HSVhsv(55, 67%, 90%)
CMYKcmyk(0%, 5.7%, 66.8%, 10.2%)
CIE-LABlab(85.15, -11.45, 67.62)
CIE-LCHlch(85.15, 68.58, 99.61°)
OKLaboklab(86.8% -0.0378 0.1517)
OKLCHoklch(86.8% 0.156 104)
XYZxyz(58.1758, 66.2938, 16.5676)
Luminance0.6629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D84C #4C59E5
analogous
#E58C4C #E5D84C #A6E54C
triadic
#E5D84C #4CE5D8 #D84CE5
tetradic
#E5D84C #4CE58C #4C59E5 #E54CA6
square
#E5D84C #4CE58C #4C59E5 #E54CA6
split-complementary
#E5D84C #4CA6E5 #8C4CE5
monochromatic
#9F9417 #D5C51F #E5D84C #EDE481 #F5EFB7

Accessibility & contrast

On white

1.47
#E5D84C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#E5D84C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D84C
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D84C#FFFFFF#000000##000000
##E5D84C1.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD138
Deuteranopia (green-blind)
#EFD855
Tritanopia (blue-blind)
#F6CABC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e5d84c;
/* rgb */ color: rgb(229, 216, 76);
/* oklch */ color: oklch(86.8% 0.156 104.0);
Tailwind
colors: {
  custom: {
    50: '#f1e385',
    500: '#e5d84c',
    950: '#000000',
  },
}
SCSS
$custom: #e5d84c;
$custom-light: #f1e385;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d84c",
  "rgb": {
    "r": 229,
    "g": 216,
    "b": 76
  },
  "hsl": {
    "h": 54.902,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86802,
    "c": 0.15636,
    "h": 104
  },
  "luminance": 0.66292
}

Semantic roles & 50–950 ramp

primary
#E5D84C
secondary
#333CA2
accent
#46F137
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5D84C

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

Preview Lab → · Contrast checker → · Palette generator →

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