#E4C850#E4C850

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

Color values

HEX#E4C850
RGBrgb(228, 200, 80)
HSLhsl(49, 73%, 60%)
HSVhsv(49, 65%, 89%)
CMYKcmyk(0%, 12.3%, 64.9%, 10.6%)
CIE-LABlab(80.95, -3.53, 61.60)
CIE-LCHlch(80.95, 61.70, 93.28°)
OKLaboklab(83.46% -0.0147 0.1397)
OKLCHoklch(83.46% 0.14 96)
XYZxyz(54.0996, 58.3844, 16.0076)
Luminance0.5838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C850 #506CE4
analogous
#E47E50 #E4C850 #B6E450
triadic
#E4C850 #50E4C8 #C850E4
tetradic
#E4C850 #50E47E #506CE4 #E450B6
square
#E4C850 #50E47E #506CE4 #E450B6
split-complementary
#E4C850 #50B6E4 #7E50E4
monochromatic
#A18719 #D6B421 #E4C850 #ECD985 #F4E9BA

Accessibility & contrast

On white

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

On black

12.68
#E4C850 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C850
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C850#FFFFFF#000000##000000
##E4C8501.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4c850;
/* rgb */ color: rgb(228, 200, 80);
/* oklch */ color: oklch(83.5% 0.140 96.0);
Tailwind
colors: {
  custom: {
    50: '#f0d886',
    500: '#e4c850',
    950: '#000000',
  },
}
SCSS
$custom: #e4c850;
$custom-light: #f0d886;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c850",
  "rgb": {
    "r": 228,
    "g": 200,
    "b": 80
  },
  "hsl": {
    "h": 48.649,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83464,
    "c": 0.14044,
    "h": 96
  },
  "luminance": 0.58382
}

Semantic roles & 50–950 ramp

primary
#E4C850
secondary
#354AA4
accent
#35D510
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C850

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

Preview Lab → · Contrast checker → · Palette generator →

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