#E5CC7C#E5CC7C

#E5CC7C is a very light, moderate yellow. Relative luminance 0.613; OKLCH L 84.9% C 0.104 H 92.6°. Best body text is #000000 at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#E5CC7C
RGBrgb(229, 204, 124)
HSLhsl(46, 67%, 69%)
HSVhsv(46, 46%, 90%)
CMYKcmyk(0%, 10.9%, 45.9%, 10.2%)
CIE-LABlab(82.54, -1.75, 42.92)
CIE-LCHlch(82.54, 42.95, 92.34°)
OKLaboklab(84.89% -0.0047 0.1037)
OKLCHoklch(84.89% 0.104 92.6)
XYZxyz(57.5458, 61.3013, 27.8660)
Luminance0.6130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC7C #7C95E5
analogous
#E5987C #E5CC7C #CAE57C
triadic
#E5CC7C #7CE5CC #CC7CE5
tetradic
#E5CC7C #7CE598 #7C95E5 #E57CCA
square
#E5CC7C #7CE598 #7C95E5 #E57CCA
split-complementary
#E5CC7C #7CCAE5 #987CE5
monochromatic
#C09C26 #DBB849 #E5CC7C #EFE0AF #F9F4E2

Accessibility & contrast

On white

1.58
#E5CC7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.26
#E5CC7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CC7C
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CC7C#FFFFFF#000000##000000
##E5CC7C1.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC976
Deuteranopia (green-blind)
#E2D17F
Tritanopia (blue-blind)
#F4C1B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e5cc7c;
/* rgb */ color: rgb(229, 204, 124);
/* oklch */ color: oklch(84.9% 0.104 92.6);
Tailwind
colors: {
  custom: {
    50: '#efdba3',
    500: '#e5cc7c',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc7c;
$custom-light: #efdba3;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc7c",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 124
  },
  "hsl": {
    "h": 45.714,
    "s": 66.879,
    "l": 69.216
  },
  "oklch": {
    "l": 0.84894,
    "c": 0.10377,
    "h": 92.6
  },
  "luminance": 0.61299
}

Semantic roles & 50–950 ramp

primary
#E5CC7C
secondary
#4864BD
accent
#43CF17
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #E5CC7C

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

Preview Lab → · Contrast checker → · Palette generator →

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