#E4CC5E#E4CC5E

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

Color values

HEX#E4CC5E
RGBrgb(228, 204, 94)
HSLhsl(49, 71%, 63%)
HSVhsv(49, 59%, 89%)
CMYKcmyk(0%, 10.5%, 58.8%, 10.6%)
CIE-LABlab(82.10, -4.67, 56.73)
CIE-LCHlch(82.10, 56.92, 94.71°)
OKLaboklab(84.42% -0.0164 0.1312)
OKLCHoklch(84.42% 0.132 97.1)
XYZxyz(55.6104, 60.4904, 19.3341)
Luminance0.6049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CC5E #5E76E4
analogous
#E4895E #E4CC5E #B9E45E
triadic
#E4CC5E #5EE4CC #CC5EE4
tetradic
#E4CC5E #5EE489 #5E76E4 #E45EB9
square
#E4CC5E #5EE489 #5E76E4 #E45EB9
split-complementary
#E4CC5E #5EB9E4 #895EE4
monochromatic
#AB911D #DBBB2A #E4CC5E #EDDD92 #F6EDC7

Accessibility & contrast

On white

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

On black

13.10
#E4CC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CC5E
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CC5E#FFFFFF#000000##000000
##E4CC5E1.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4cc5e;
/* rgb */ color: rgb(228, 204, 94);
/* oklch */ color: oklch(84.4% 0.132 97.1);
Tailwind
colors: {
  custom: {
    50: '#efdb8f',
    500: '#e4cc5e',
    950: '#000000',
  },
}
SCSS
$custom: #e4cc5e;
$custom-light: #efdb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cc5e",
  "rgb": {
    "r": 228,
    "g": 204,
    "b": 94
  },
  "hsl": {
    "h": 49.254,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84416,
    "c": 0.13224,
    "h": 97.1
  },
  "luminance": 0.60488
}

Semantic roles & 50–950 ramp

primary
#E4CC5E
secondary
#3A4EAD
accent
#35D312
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E4CC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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