#E4D84F#E4D84F

#E4D84F is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.7% C 0.154 H 104.3°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#E4D84F
RGBrgb(228, 216, 79)
HSLhsl(55, 73%, 60%)
HSVhsv(55, 65%, 89%)
CMYKcmyk(0%, 5.3%, 65.4%, 10.6%)
CIE-LABlab(85.08, -11.70, 66.35)
CIE-LCHlch(85.08, 67.37, 100.00°)
OKLaboklab(86.74% -0.0381 0.1495)
OKLCHoklch(86.74% 0.154 104.3)
XYZxyz(57.9643, 66.1724, 17.1149)
Luminance0.6617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D84F #4F5BE4
analogous
#E48E4F #E4D84F #A5E44F
triadic
#E4D84F #4FE4D8 #D84FE4
tetradic
#E4D84F #4FE48E #4F5BE4 #E44FA5
square
#E4D84F #4FE48E #4F5BE4 #E44FA5
split-complementary
#E4D84F #4FA5E4 #8E4FE4
monochromatic
#A09519 #D5C721 #E4D84F #ECE484 #F4F0B9

Accessibility & contrast

On white

1.48
#E4D84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#E4D84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D84F
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D84F#FFFFFF#000000##000000
##E4D84F1.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD13D
Deuteranopia (green-blind)
#EED757
Tritanopia (blue-blind)
#F4CABC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e4d84f;
/* rgb */ color: rgb(228, 216, 79);
/* oklch */ color: oklch(86.7% 0.154 104.3);
Tailwind
colors: {
  custom: {
    50: '#f0e387',
    500: '#e4d84f',
    950: '#000000',
  },
}
SCSS
$custom: #e4d84f;
$custom-light: #f0e387;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d84f",
  "rgb": {
    "r": 228,
    "g": 216,
    "b": 79
  },
  "hsl": {
    "h": 55.168,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.8674,
    "c": 0.15433,
    "h": 104.3
  },
  "luminance": 0.6617
}

Semantic roles & 50–950 ramp

primary
#E4D84F
secondary
#343DA3
accent
#20D610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4D84F

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

Preview Lab → · Contrast checker → · Palette generator →

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