#E5CC6D#E5CC6D

#E5CC6D is a very light, moderate yellow. Relative luminance 0.609; OKLCH L 84.7% C 0.119 H 94.9°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#E5CC6D
RGBrgb(229, 204, 109)
HSLhsl(48, 70%, 66%)
HSVhsv(48, 52%, 90%)
CMYKcmyk(0%, 10.9%, 52.4%, 10.2%)
CIE-LABlab(82.35, -3.10, 50.04)
CIE-LCHlch(82.35, 50.14, 93.55°)
OKLaboklab(84.68% -0.0102 0.1183)
OKLCHoklch(84.68% 0.119 94.9)
XYZxyz(56.6683, 60.9503, 23.2447)
Luminance0.6095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC6D #6D86E5
analogous
#E5906D #E5CC6D #C2E56D
triadic
#E5CC6D #6DE5CC #CC6DE5
tetradic
#E5CC6D #6DE590 #6D86E5 #E56DC2
square
#E5CC6D #6DE590 #6D86E5 #E56DC2
split-complementary
#E5CC6D #6DC2E5 #906DE5
monochromatic
#B79821 #DCBA39 #E5CC6D #EEDEA1 #F8F0D5

Accessibility & contrast

On white

1.59
#E5CC6D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.19
#E5CC6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CC6D
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CC6D#FFFFFF#000000##000000
##E5CC6D1.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC864
Deuteranopia (green-blind)
#E4D071
Tritanopia (blue-blind)
#F5BFB6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e5cc6d;
/* rgb */ color: rgb(229, 204, 109);
/* oklch */ color: oklch(84.7% 0.119 94.9);
Tailwind
colors: {
  custom: {
    50: '#f0db99',
    500: '#e5cc6d',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc6d;
$custom-light: #f0db99;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc6d",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 109
  },
  "hsl": {
    "h": 47.5,
    "s": 69.767,
    "l": 66.275
  },
  "oklch": {
    "l": 0.84684,
    "c": 0.11876,
    "h": 94.9
  },
  "luminance": 0.60948
}

Semantic roles & 50–950 ramp

primary
#E5CC6D
secondary
#3F58B7
accent
#3BD214
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E5CC6D

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

Preview Lab → · Contrast checker → · Palette generator →

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