#ECCD62#ECCD62

#ECCD62 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.4% C 0.131 H 93.3°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#ECCD62
RGBrgb(236, 205, 98)
HSLhsl(47, 78%, 65%)
HSVhsv(47, 58%, 93%)
CMYKcmyk(0%, 13.1%, 58.5%, 7.5%)
CIE-LABlab(83.12, -1.59, 56.25)
CIE-LCHlch(83.12, 56.27, 91.62°)
OKLaboklab(85.4% -0.0075 0.1305)
OKLCHoklch(85.4% 0.131 93.3)
XYZxyz(58.6305, 62.3802, 20.5052)
Luminance0.6238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCD62 #6281EC
analogous
#EC8862 #ECCD62 #C6EC62
triadic
#ECCD62 #62ECCD #CD62EC
tetradic
#ECCD62 #62EC88 #6281EC #EC62C6
square
#ECCD62 #62EC88 #6281EC #EC62C6
split-complementary
#ECCD62 #62C6EC #8862EC
monochromatic
#BD9717 #E5BC2B #ECCD62 #F3DE99 #F9F0CF

Accessibility & contrast

On white

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

On black

13.48
#ECCD62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCD62
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCD62#FFFFFF#000000##000000
##ECCD621.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA57
Deuteranopia (green-blind)
#E8D367
Tritanopia (blue-blind)
#FDBFB5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #eccd62;
/* rgb */ color: rgb(236, 205, 98);
/* oklch */ color: oklch(85.4% 0.131 93.3);
Tailwind
colors: {
  custom: {
    50: '#f5dc92',
    500: '#eccd62',
    950: '#000000',
  },
}
SCSS
$custom: #eccd62;
$custom-light: #f5dc92;
$custom-dark: #000000;
JSON
{
  "hex": "#eccd62",
  "rgb": {
    "r": 236,
    "g": 205,
    "b": 98
  },
  "hsl": {
    "h": 46.522,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.85397,
    "c": 0.13071,
    "h": 93.3
  },
  "luminance": 0.62377
}

Semantic roles & 50–950 ramp

primary
#ECCD62
secondary
#3754BC
accent
#3ADB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECCD62

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

Preview Lab → · Contrast checker → · Palette generator →

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