#E4C950#E4C950

#E4C950 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.7% C 0.141 H 96.6°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#E4C950
RGBrgb(228, 201, 80)
HSLhsl(49, 73%, 60%)
HSVhsv(49, 65%, 89%)
CMYKcmyk(0%, 11.8%, 64.9%, 10.6%)
CIE-LABlab(81.21, -4.04, 61.87)
CIE-LCHlch(81.21, 62.01, 93.74°)
OKLaboklab(83.67% -0.0162 0.1402)
OKLCHoklch(83.67% 0.141 96.6)
XYZxyz(54.3320, 58.8491, 16.0850)
Luminance0.5885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C950 #506BE4
analogous
#E47F50 #E4C950 #B5E450
triadic
#E4C950 #50E4C9 #C950E4
tetradic
#E4C950 #50E47F #506BE4 #E450B5
square
#E4C950 #50E47F #506BE4 #E450B5
split-complementary
#E4C950 #50B5E4 #7F50E4
monochromatic
#A18819 #D6B521 #E4C950 #ECD985 #F4EABA

Accessibility & contrast

On white

1.64
#E4C950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#E4C950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C950
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C950#FFFFFF#000000##000000
##E4C9501.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC541
Deuteranopia (green-blind)
#E3CE56
Tritanopia (blue-blind)
#F5BBB0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e4c950;
/* rgb */ color: rgb(228, 201, 80);
/* oklch */ color: oklch(83.7% 0.141 96.6);
Tailwind
colors: {
  custom: {
    50: '#f0d986',
    500: '#e4c950',
    950: '#000000',
  },
}
SCSS
$custom: #e4c950;
$custom-light: #f0d986;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c950",
  "rgb": {
    "r": 228,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 49.054,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83667,
    "c": 0.14117,
    "h": 96.6
  },
  "luminance": 0.58846
}

Semantic roles & 50–950 ramp

primary
#E4C950
secondary
#3549A4
accent
#34D510
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C950

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

Preview Lab → · Contrast checker → · Palette generator →

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