#E4CC5F#E4CC5F

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

Color values

HEX#E4CC5F
RGBrgb(228, 204, 95)
HSLhsl(49, 71%, 63%)
HSVhsv(49, 58%, 89%)
CMYKcmyk(0%, 10.5%, 58.3%, 10.6%)
CIE-LABlab(82.11, -4.60, 56.29)
CIE-LCHlch(82.11, 56.48, 94.67°)
OKLaboklab(84.43% -0.0161 0.1304)
OKLCHoklch(84.43% 0.131 97)
XYZxyz(55.6555, 60.5084, 19.5719)
Luminance0.6051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CC5F #5F77E4
analogous
#E4895F #E4CC5F #B9E45F
triadic
#E4CC5F #5FE4CC #CC5FE4
tetradic
#E4CC5F #5FE489 #5F77E4 #E45FB9
square
#E4CC5F #5FE489 #5F77E4 #E45FB9
split-complementary
#E4CC5F #5FB9E4 #895FE4
monochromatic
#AC921D #DBBB2B #E4CC5F #EDDD93 #F6EDC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4CC5F#FFFFFF#000000##000000
##E4CC5F1.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)
#DEC854
Deuteranopia (green-blind)
#E4D064
Tritanopia (blue-blind)
#F4BFB4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e4cc5f;
/* rgb */ color: rgb(228, 204, 95);
/* oklch */ color: oklch(84.4% 0.131 97.0);
Tailwind
colors: {
  custom: {
    50: '#efdb90',
    500: '#e4cc5f',
    950: '#000000',
  },
}
SCSS
$custom: #e4cc5f;
$custom-light: #efdb90;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cc5f",
  "rgb": {
    "r": 228,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 49.173,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84427,
    "c": 0.13138,
    "h": 97
  },
  "luminance": 0.60506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E4CC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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