#ECCD50#ECCD50

#ECCD50 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 85.2% C 0.145 H 95.1°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#ECCD50
RGBrgb(236, 205, 80)
HSLhsl(48, 80%, 62%)
HSVhsv(48, 66%, 93%)
CMYKcmyk(0%, 13.1%, 66.1%, 7.5%)
CIE-LABlab(82.95, -2.74, 63.94)
CIE-LCHlch(82.95, 64.00, 92.45°)
OKLaboklab(85.22% -0.0129 0.1444)
OKLCHoklch(85.22% 0.145 95.1)
XYZxyz(57.8741, 62.0777, 16.5217)
Luminance0.6208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCD50 #506FEC
analogous
#EC7F50 #ECCD50 #BDEC50
triadic
#ECCD50 #50ECCD #CD50EC
tetradic
#ECCD50 #50EC7F #506FEC #EC50BD
square
#ECCD50 #50EC7F #506FEC #EC50BD
split-complementary
#ECCD50 #50BDEC #7F50EC
monochromatic
#AF9013 #E6BD19 #ECCD50 #F2DD87 #F8EDBE

Accessibility & contrast

On white

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

On black

13.42
#ECCD50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCD50
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCD50#FFFFFF#000000##000000
##ECCD501.001.5713.4213.42
#FFFFFF1.571.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C940
Deuteranopia (green-blind)
#E9D356
Tritanopia (blue-blind)
#FEBEB3
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #eccd50;
/* rgb */ color: rgb(236, 205, 80);
/* oklch */ color: oklch(85.2% 0.145 95.1);
Tailwind
colors: {
  custom: {
    50: '#f6db87',
    500: '#eccd50',
    950: '#000000',
  },
}
SCSS
$custom: #eccd50;
$custom-light: #f6db87;
$custom-dark: #000000;
JSON
{
  "hex": "#eccd50",
  "rgb": {
    "r": 236,
    "g": 205,
    "b": 80
  },
  "hsl": {
    "h": 48.077,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.85219,
    "c": 0.14495,
    "h": 95.1
  },
  "luminance": 0.62075
}

Semantic roles & 50–950 ramp

primary
#ECCD50
secondary
#314AAF
accent
#33DD09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECCD50

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

Preview Lab → · Contrast checker → · Palette generator →

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