#E4CD57#E4CD57

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

Color values

HEX#E4CD57
RGBrgb(228, 205, 87)
HSLhsl(50, 72%, 62%)
HSVhsv(50, 62%, 89%)
CMYKcmyk(0%, 10.1%, 61.8%, 10.6%)
CIE-LABlab(82.30, -5.65, 60.05)
CIE-LCHlch(82.30, 60.32, 95.38°)
OKLaboklab(84.55% -0.02 0.1374)
OKLCHoklch(84.55% 0.139 98.3)
XYZxyz(55.5489, 60.8472, 17.8337)
Luminance0.6085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CD57 #576EE4
analogous
#E48757 #E4CD57 #B5E457
triadic
#E4CD57 #57E4CD #CD57E4
tetradic
#E4CD57 #57E487 #576EE4 #E457B5
square
#E4CD57 #57E487 #576EE4 #E457B5
split-complementary
#E4CD57 #57B5E4 #8757E4
monochromatic
#A68F1B #DBBD23 #E4CD57 #ECDD8C #F5ECC0

Accessibility & contrast

On white

1.59
#E4CD57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4CD57#FFFFFF#000000##000000
##E4CD571.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4cd57;
/* rgb */ color: rgb(228, 205, 87);
/* oklch */ color: oklch(84.5% 0.139 98.3);
Tailwind
colors: {
  custom: {
    50: '#f0db8b',
    500: '#e4cd57',
    950: '#000000',
  },
}
SCSS
$custom: #e4cd57;
$custom-light: #f0db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cd57",
  "rgb": {
    "r": 228,
    "g": 205,
    "b": 87
  },
  "hsl": {
    "h": 50.213,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84547,
    "c": 0.13884,
    "h": 98.3
  },
  "luminance": 0.60845
}

Semantic roles & 50–950 ramp

primary
#E4CD57
secondary
#374AA8
accent
#31D411
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4CD57

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

Preview Lab → · Contrast checker → · Palette generator →

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