#E5CC5F#E5CC5F

#E5CC5F is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.5% C 0.131 H 96.5°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#E5CC5F
RGBrgb(229, 204, 95)
HSLhsl(49, 72%, 64%)
HSVhsv(49, 59%, 90%)
CMYKcmyk(0%, 10.9%, 58.5%, 10.2%)
CIE-LABlab(82.20, -4.18, 56.41)
CIE-LCHlch(82.20, 56.57, 94.24°)
OKLaboklab(84.52% -0.0149 0.1306)
OKLCHoklch(84.52% 0.131 96.5)
XYZxyz(55.9738, 60.6725, 19.5869)
Luminance0.6067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC5F #5F78E5
analogous
#E5895F #E5CC5F #BBE55F
triadic
#E5CC5F #5FE5CC #CC5FE5
tetradic
#E5CC5F #5FE589 #5F78E5 #E55FBB
square
#E5CC5F #5FE589 #5F78E5 #E55FBB
split-complementary
#E5CC5F #5FBBE5 #895FE5
monochromatic
#AD921C #DCBB2A #E5CC5F #EEDD94 #F6EEC8

Accessibility & contrast

On white

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

On black

13.13
#E5CC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CC5F
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CC5F#FFFFFF#000000##000000
##E5CC5F1.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC854
Deuteranopia (green-blind)
#E5D064
Tritanopia (blue-blind)
#F5BEB4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e5cc5f;
/* rgb */ color: rgb(229, 204, 95);
/* oklch */ color: oklch(84.5% 0.131 96.5);
Tailwind
colors: {
  custom: {
    50: '#f0db90',
    500: '#e5cc5f',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc5f;
$custom-light: #f0db90;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc5f",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 48.806,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84518,
    "c": 0.13149,
    "h": 96.5
  },
  "luminance": 0.6067
}

Semantic roles & 50–950 ramp

primary
#E5CC5F
secondary
#3A4FAF
accent
#36D411
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E5CC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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