#E4C551#E4C551

#E4C551 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.9% C 0.138 H 94.2°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#E4C551
RGBrgb(228, 197, 81)
HSLhsl(47, 73%, 61%)
HSVhsv(47, 64%, 89%)
CMYKcmyk(0%, 13.6%, 64.5%, 10.6%)
CIE-LABlab(80.19, -1.92, 60.37)
CIE-LCHlch(80.19, 60.40, 91.82°)
OKLaboklab(82.87% -0.01 0.1372)
OKLCHoklch(82.87% 0.138 94.2)
XYZxyz(53.4489, 57.0233, 15.9743)
Luminance0.5702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C551 #5170E4
analogous
#E47B51 #E4C551 #B9E451
triadic
#E4C551 #51E4C5 #C551E4
tetradic
#E4C551 #51E47B #5170E4 #E451B9
square
#E4C551 #51E47B #5170E4 #E451B9
split-complementary
#E4C551 #51B9E4 #7B51E4
monochromatic
#A28519 #D7B021 #E4C551 #ECD786 #F4E8BB

Accessibility & contrast

On white

1.69
#E4C551 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#E4C551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C551
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C551#FFFFFF#000000##000000
##E4C5511.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C143
Deuteranopia (green-blind)
#E0CB57
Tritanopia (blue-blind)
#F5B7AC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #e4c551;
/* rgb */ color: rgb(228, 197, 81);
/* oklch */ color: oklch(82.9% 0.138 94.2);
Tailwind
colors: {
  custom: {
    50: '#f0d687',
    500: '#e4c551',
    950: '#000000',
  },
}
SCSS
$custom: #e4c551;
$custom-light: #f0d687;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c551",
  "rgb": {
    "r": 228,
    "g": 197,
    "b": 81
  },
  "hsl": {
    "h": 47.347,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82866,
    "c": 0.13756,
    "h": 94.2
  },
  "luminance": 0.57021
}

Semantic roles & 50–950 ramp

primary
#E4C551
secondary
#354CA4
accent
#3AD510
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C551

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

Preview Lab → · Contrast checker → · Palette generator →

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