#ECCC5A#ECCC5A

#ECCC5A is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 85.1% C 0.137 H 93.6°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#ECCC5A
RGBrgb(236, 204, 90)
HSLhsl(47, 79%, 64%)
HSVhsv(47, 62%, 93%)
CMYKcmyk(0%, 13.6%, 61.9%, 7.5%)
CIE-LABlab(82.79, -1.62, 59.48)
CIE-LCHlch(82.79, 59.50, 91.56°)
OKLaboklab(85.11% -0.0086 0.1364)
OKLCHoklch(85.11% 0.137 93.6)
XYZxyz(58.0330, 61.7598, 18.5349)
Luminance0.6176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCC5A #5A7AEC
analogous
#EC835A #ECCC5A #C3EC5A
triadic
#ECCC5A #5AECCC #CC5AEC
tetradic
#ECCC5A #5AEC83 #5A7AEC #EC5AC3
square
#ECCC5A #5AEC83 #5A7AEC #EC5AC3
split-complementary
#ECCC5A #5AC3EC #835AEC
monochromatic
#B79315 #E6BB23 #ECCC5A #F2DD91 #F9EEC8

Accessibility & contrast

On white

1.57
#ECCC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.35
#ECCC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCC5A
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCC5A#FFFFFF#000000##000000
##ECCC5A1.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94E
Deuteranopia (green-blind)
#E8D25F
Tritanopia (blue-blind)
#FEBDB3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #eccc5a;
/* rgb */ color: rgb(236, 204, 90);
/* oklch */ color: oklch(85.1% 0.137 93.6);
Tailwind
colors: {
  custom: {
    50: '#f5db8d',
    500: '#eccc5a',
    950: '#000000',
  },
}
SCSS
$custom: #eccc5a;
$custom-light: #f5db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#eccc5a",
  "rgb": {
    "r": 236,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 46.849,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85112,
    "c": 0.13664,
    "h": 93.6
  },
  "luminance": 0.61757
}

Semantic roles & 50–950 ramp

primary
#ECCC5A
secondary
#3451B6
accent
#38DC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECCC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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