#E5CC6A#E5CC6A

#E5CC6A is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.6% C 0.122 H 95.3°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#E5CC6A
RGBrgb(229, 204, 106)
HSLhsl(48, 70%, 66%)
HSVhsv(48, 54%, 90%)
CMYKcmyk(0%, 10.9%, 53.7%, 10.2%)
CIE-LABlab(82.32, -3.35, 51.43)
CIE-LCHlch(82.32, 51.54, 93.73°)
OKLaboklab(84.65% -0.0113 0.1211)
OKLCHoklch(84.65% 0.122 95.3)
XYZxyz(56.5096, 60.8868, 22.4086)
Luminance0.6088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC6A #6A83E5
analogous
#E58E6A #E5CC6A #C0E56A
triadic
#E5CC6A #6AE5CC #CC6AE5
tetradic
#E5CC6A #6AE58E #6A83E5 #E56AC0
square
#E5CC6A #6AE58E #6A83E5 #E56AC0
split-complementary
#E5CC6A #6AC0E5 #8E6AE5
monochromatic
#B59720 #DCBA36 #E5CC6A #EEDE9E #F7F0D2

Accessibility & contrast

On white

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

On black

13.18
#E5CC6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CC6A
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CC6A#FFFFFF#000000##000000
##E5CC6A1.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5cc6a;
/* rgb */ color: rgb(229, 204, 106);
/* oklch */ color: oklch(84.6% 0.122 95.3);
Tailwind
colors: {
  custom: {
    50: '#f0db97',
    500: '#e5cc6a',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc6a;
$custom-light: #f0db97;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc6a",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 106
  },
  "hsl": {
    "h": 47.805,
    "s": 70.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.84646,
    "c": 0.12159,
    "h": 95.3
  },
  "luminance": 0.60884
}

Semantic roles & 50–950 ramp

primary
#E5CC6A
secondary
#3E56B5
accent
#3AD213
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E5CC6A

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

Preview Lab → · Contrast checker → · Palette generator →

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