#ECCD5C#ECCD5C

#ECCD5C is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 85.3% C 0.136 H 94.0°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#ECCD5C
RGBrgb(236, 205, 92)
HSLhsl(47, 79%, 64%)
HSVhsv(47, 61%, 93%)
CMYKcmyk(0%, 13.1%, 61%, 7.5%)
CIE-LABlab(83.06, -2.00, 58.89)
CIE-LCHlch(83.06, 58.93, 91.95°)
OKLaboklab(85.33% -0.0094 0.1354)
OKLCHoklch(85.33% 0.136 94)
XYZxyz(58.3578, 62.2711, 19.0688)
Luminance0.6227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCD5C #5C7BEC
analogous
#EC855C #ECCD5C #C3EC5C
triadic
#ECCD5C #5CECCD #CD5CEC
tetradic
#ECCD5C #5CEC85 #5C7BEC #EC5CC3
square
#ECCD5C #5CEC85 #5C7BEC #EC5CC3
split-complementary
#ECCD5C #5CC3EC #855CEC
monochromatic
#B89515 #E6BC25 #ECCD5C #F2DE93 #F9EFCA

Accessibility & contrast

On white

1.56
#ECCD5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#ECCD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCD5C
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCD5C#FFFFFF#000000##000000
##ECCD5C1.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C950
Deuteranopia (green-blind)
#E8D361
Tritanopia (blue-blind)
#FEBFB4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #eccd5c;
/* rgb */ color: rgb(236, 205, 92);
/* oklch */ color: oklch(85.3% 0.136 94.0);
Tailwind
colors: {
  custom: {
    50: '#f5db8e',
    500: '#eccd5c',
    950: '#000000',
  },
}
SCSS
$custom: #eccd5c;
$custom-light: #f5db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#eccd5c",
  "rgb": {
    "r": 236,
    "g": 205,
    "b": 92
  },
  "hsl": {
    "h": 47.083,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.85333,
    "c": 0.13572,
    "h": 94
  },
  "luminance": 0.62268
}

Semantic roles & 50–950 ramp

primary
#ECCD5C
secondary
#3551B8
accent
#37DB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECCD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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