#ECDD60#ECDD60

#ECDD60 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.6% C 0.145 H 102.5°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#ECDD60
RGBrgb(236, 221, 96)
HSLhsl(54, 79%, 65%)
HSVhsv(54, 59%, 93%)
CMYKcmyk(0%, 6.4%, 59.3%, 7.5%)
CIE-LABlab(87.19, -9.84, 61.71)
CIE-LCHlch(87.19, 62.49, 99.06°)
OKLaboklab(88.62% -0.0315 0.1419)
OKLCHoklch(88.62% 0.145 102.5)
XYZxyz(62.5621, 70.3927, 21.3557)
Luminance0.7039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDD60 #606FEC
analogous
#EC9760 #ECDD60 #B5EC60
triadic
#ECDD60 #60ECDD #DD60EC
tetradic
#ECDD60 #60EC97 #606FEC #EC60B5
square
#ECDD60 #60EC97 #606FEC #EC60B5
split-complementary
#ECDD60 #60B5EC #9760EC
monochromatic
#BBAA16 #E5D129 #ECDD60 #F3E997 #F9F4CD

Accessibility & contrast

On white

1.39
#ECDD60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.08
#ECDD60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDD60
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDD60#FFFFFF#000000##000000
##ECDD601.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD752
Deuteranopia (green-blind)
#F4DD67
Tritanopia (blue-blind)
#FCCFC2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ecdd60;
/* rgb */ color: rgb(236, 221, 96);
/* oklch */ color: oklch(88.6% 0.145 102.5);
Tailwind
colors: {
  custom: {
    50: '#f5e792',
    500: '#ecdd60',
    950: '#000000',
  },
}
SCSS
$custom: #ecdd60;
$custom-light: #f5e792;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdd60",
  "rgb": {
    "r": 236,
    "g": 221,
    "b": 96
  },
  "hsl": {
    "h": 53.571,
    "s": 78.652,
    "l": 65.098
  },
  "oklch": {
    "l": 0.88618,
    "c": 0.14537,
    "h": 102.5
  },
  "luminance": 0.7039
}

Semantic roles & 50–950 ramp

primary
#ECDD60
secondary
#3644BA
accent
#21DB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #ECDD60

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

Preview Lab → · Contrast checker → · Palette generator →

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