#E4C84F#E4C84F

#E4C84F is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.5% C 0.141 H 96.1°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#E4C84F
RGBrgb(228, 200, 79)
HSLhsl(49, 73%, 60%)
HSVhsv(49, 65%, 89%)
CMYKcmyk(0%, 12.3%, 65.4%, 10.6%)
CIE-LABlab(80.94, -3.58, 62.01)
CIE-LCHlch(80.94, 62.12, 93.31°)
OKLaboklab(83.46% -0.015 0.1404)
OKLCHoklch(83.46% 0.141 96.1)
XYZxyz(54.0630, 58.3697, 15.8144)
Luminance0.5837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C84F #4F6BE4
analogous
#E47E4F #E4C84F #B5E44F
triadic
#E4C84F #4FE4C8 #C84FE4
tetradic
#E4C84F #4FE47E #4F6BE4 #E44FB5
square
#E4C84F #4FE47E #4F6BE4 #E44FB5
split-complementary
#E4C84F #4FB5E4 #7E4FE4
monochromatic
#A08719 #D5B321 #E4C84F #ECD984 #F4E9B9

Accessibility & contrast

On white

1.66
#E4C84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#E4C84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C84F
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C84F#FFFFFF#000000##000000
##E4C84F1.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC440
Deuteranopia (green-blind)
#E2CD55
Tritanopia (blue-blind)
#F5BAAF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e4c84f;
/* rgb */ color: rgb(228, 200, 79);
/* oklch */ color: oklch(83.5% 0.141 96.1);
Tailwind
colors: {
  custom: {
    50: '#f0d886',
    500: '#e4c84f',
    950: '#000000',
  },
}
SCSS
$custom: #e4c84f;
$custom-light: #f0d886;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c84f",
  "rgb": {
    "r": 228,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 48.725,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83455,
    "c": 0.14119,
    "h": 96.1
  },
  "luminance": 0.58367
}

Semantic roles & 50–950 ramp

primary
#E4C84F
secondary
#3449A3
accent
#35D610
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4C84F

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

Preview Lab → · Contrast checker → · Palette generator →

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