#E4CD55#E4CD55

#E4CD55 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.16:1 contrast (WCAG AA passes).

Color values

HEX#E4CD55
RGBrgb(228, 205, 85)
HSLhsl(50, 73%, 61%)
HSVhsv(50, 63%, 89%)
CMYKcmyk(0%, 10.1%, 62.7%, 10.6%)
CIE-LABlab(82.28, -5.78, 60.90)
CIE-LCHlch(82.28, 61.17, 95.42°)
OKLaboklab(84.53% -0.0206 0.1389)
OKLCHoklch(84.53% 0.14 98.4)
XYZxyz(55.4683, 60.8150, 17.4093)
Luminance0.6081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CD55 #556CE4
analogous
#E48655 #E4CD55 #B4E455
triadic
#E4CD55 #55E4CD #CD55E4
tetradic
#E4CD55 #55E486 #556CE4 #E455B4
square
#E4CD55 #55E486 #556CE4 #E455B4
split-complementary
#E4CD55 #55B4E4 #8655E4
monochromatic
#A48E1A #D9BC23 #E4CD55 #ECDD8A #F5ECBF

Accessibility & contrast

On white

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

On black

13.16
#E4CD55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CD55
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CD55#FFFFFF#000000##000000
##E4CD551.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C847
Deuteranopia (green-blind)
#E6D05B
Tritanopia (blue-blind)
#F5BFB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e4cd55;
/* rgb */ color: rgb(228, 205, 85);
/* oklch */ color: oklch(84.5% 0.140 98.4);
Tailwind
colors: {
  custom: {
    50: '#f0db8a',
    500: '#e4cd55',
    950: '#000000',
  },
}
SCSS
$custom: #e4cd55;
$custom-light: #f0db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cd55",
  "rgb": {
    "r": 228,
    "g": 205,
    "b": 85
  },
  "hsl": {
    "h": 50.35,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84528,
    "c": 0.14042,
    "h": 98.4
  },
  "luminance": 0.60813
}

Semantic roles & 50–950 ramp

primary
#E4CD55
secondary
#3648A7
accent
#30D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4CD55

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

Preview Lab → · Contrast checker → · Palette generator →

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