#E4CD51#E4CD51

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

Color values

HEX#E4CD51
RGBrgb(228, 205, 81)
HSLhsl(51, 73%, 61%)
HSVhsv(51, 64%, 89%)
CMYKcmyk(0%, 10.1%, 64.5%, 10.6%)
CIE-LABlab(82.25, -6.03, 62.56)
CIE-LCHlch(82.25, 62.84, 95.50°)
OKLaboklab(84.49% -0.0218 0.1418)
OKLCHoklch(84.49% 0.144 98.7)
XYZxyz(55.3138, 60.7532, 16.5959)
Luminance0.6075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CD51 #5168E4
analogous
#E48351 #E4CD51 #B2E451
triadic
#E4CD51 #51E4CD #CD51E4
tetradic
#E4CD51 #51E483 #5168E4 #E451B2
square
#E4CD51 #51E483 #5168E4 #E451B2
split-complementary
#E4CD51 #51B2E4 #8351E4
monochromatic
#A28C19 #D7BA21 #E4CD51 #ECDC86 #F4EBBB

Accessibility & contrast

On white

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

On black

13.15
#E4CD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CD51
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CD51#FFFFFF#000000##000000
##E4CD511.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4cd51;
/* rgb */ color: rgb(228, 205, 81);
/* oklch */ color: oklch(84.5% 0.143 98.7);
Tailwind
colors: {
  custom: {
    50: '#f0db87',
    500: '#e4cd51',
    950: '#000000',
  },
}
SCSS
$custom: #e4cd51;
$custom-light: #f0db87;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cd51",
  "rgb": {
    "r": 228,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 50.612,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84491,
    "c": 0.1435,
    "h": 98.7
  },
  "luminance": 0.60751
}

Semantic roles & 50–950 ramp

primary
#E4CD51
secondary
#3546A4
accent
#2FD510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4CD51

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

Preview Lab → · Contrast checker → · Palette generator →

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