#E4CD56#E4CD56

#E4CD56 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.5% C 0.140 H 98.4°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#E4CD56
RGBrgb(228, 205, 86)
HSLhsl(50, 72%, 62%)
HSVhsv(50, 62%, 89%)
CMYKcmyk(0%, 10.1%, 62.3%, 10.6%)
CIE-LABlab(82.29, -5.72, 60.47)
CIE-LCHlch(82.29, 60.74, 95.40°)
OKLaboklab(84.54% -0.0203 0.1382)
OKLCHoklch(84.54% 0.14 98.4)
XYZxyz(55.5083, 60.8310, 17.6200)
Luminance0.6083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CD56 #566DE4
analogous
#E48656 #E4CD56 #B4E456
triadic
#E4CD56 #56E4CD #CD56E4
tetradic
#E4CD56 #56E486 #566DE4 #E456B4
square
#E4CD56 #56E486 #566DE4 #E456B4
split-complementary
#E4CD56 #56B4E4 #8656E4
monochromatic
#A58F1A #DABC23 #E4CD56 #ECDD8B #F5ECC0

Accessibility & contrast

On white

1.60
#E4CD56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#E4CD56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CD56
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CD56#FFFFFF#000000##000000
##E4CD561.001.6013.1713.17
#FFFFFF1.601.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C848
Deuteranopia (green-blind)
#E6D05C
Tritanopia (blue-blind)
#F5BFB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e4cd56;
/* rgb */ color: rgb(228, 205, 86);
/* oklch */ color: oklch(84.5% 0.140 98.4);
Tailwind
colors: {
  custom: {
    50: '#f0db8a',
    500: '#e4cd56',
    950: '#000000',
  },
}
SCSS
$custom: #e4cd56;
$custom-light: #f0db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cd56",
  "rgb": {
    "r": 228,
    "g": 205,
    "b": 86
  },
  "hsl": {
    "h": 50.282,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84538,
    "c": 0.13964,
    "h": 98.4
  },
  "luminance": 0.60829
}

Semantic roles & 50–950 ramp

primary
#E4CD56
secondary
#3749A7
accent
#31D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4CD56

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

Preview Lab → · Contrast checker → · Palette generator →

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