#E4CC5D#E4CC5D

#E4CC5D is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.4% C 0.133 H 97.2°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#E4CC5D
RGBrgb(228, 204, 93)
HSLhsl(49, 71%, 63%)
HSVhsv(49, 59%, 89%)
CMYKcmyk(0%, 10.5%, 59.2%, 10.6%)
CIE-LABlab(82.09, -4.74, 57.17)
CIE-LCHlch(82.09, 57.37, 94.74°)
OKLaboklab(84.41% -0.0167 0.132)
OKLCHoklch(84.41% 0.133 97.2)
XYZxyz(55.5658, 60.4725, 19.0993)
Luminance0.6047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CC5D #5D75E4
analogous
#E4885D #E4CC5D #B9E45D
triadic
#E4CC5D #5DE4CC #CC5DE4
tetradic
#E4CC5D #5DE488 #5D75E4 #E45DB9
square
#E4CC5D #5DE488 #5D75E4 #E45DB9
split-complementary
#E4CC5D #5DB9E4 #885DE4
monochromatic
#AA911C #DBBB29 #E4CC5D #EDDD91 #F5EDC6

Accessibility & contrast

On white

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

On black

13.09
#E4CC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CC5D
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CC5D#FFFFFF#000000##000000
##E4CC5D1.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC851
Deuteranopia (green-blind)
#E5D062
Tritanopia (blue-blind)
#F4BEB4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e4cc5d;
/* rgb */ color: rgb(228, 204, 93);
/* oklch */ color: oklch(84.4% 0.133 97.2);
Tailwind
colors: {
  custom: {
    50: '#efdb8f',
    500: '#e4cc5d',
    950: '#000000',
  },
}
SCSS
$custom: #e4cc5d;
$custom-light: #efdb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cc5d",
  "rgb": {
    "r": 228,
    "g": 204,
    "b": 93
  },
  "hsl": {
    "h": 49.333,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84405,
    "c": 0.13309,
    "h": 97.2
  },
  "luminance": 0.6047
}

Semantic roles & 50–950 ramp

primary
#E4CC5D
secondary
#394EAC
accent
#34D312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E4CC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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