#ECD960#ECD960

#ECD960 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.8% C 0.142 H 100.4°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#ECD960
RGBrgb(236, 217, 96)
HSLhsl(52, 79%, 65%)
HSVhsv(52, 59%, 93%)
CMYKcmyk(0%, 8.1%, 59.3%, 7.5%)
CIE-LABlab(86.16, -7.83, 60.57)
CIE-LCHlch(86.16, 61.07, 97.37°)
OKLaboklab(87.8% -0.0257 0.1395)
OKLCHoklch(87.8% 0.142 100.4)
XYZxyz(61.5186, 68.3056, 21.0079)
Luminance0.6830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD960 #6073EC
analogous
#EC9360 #ECD960 #B9EC60
triadic
#ECD960 #60ECD9 #D960EC
tetradic
#ECD960 #60EC93 #6073EC #EC60B9
square
#ECD960 #60EC93 #6073EC #EC60B9
split-complementary
#ECD960 #60B9EC #9360EC
monochromatic
#BBA516 #E5CC29 #ECD960 #F3E697 #F9F3CD

Accessibility & contrast

On white

1.43
#ECD960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.66
#ECD960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD960
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD960#FFFFFF#000000##000000
##ECD9601.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD353
Deuteranopia (green-blind)
#F1DB66
Tritanopia (blue-blind)
#FDCBBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd960;
/* rgb */ color: rgb(236, 217, 96);
/* oklch */ color: oklch(87.8% 0.142 100.4);
Tailwind
colors: {
  custom: {
    50: '#f5e491',
    500: '#ecd960',
    950: '#000000',
  },
}
SCSS
$custom: #ecd960;
$custom-light: #f5e491;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd960",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 96
  },
  "hsl": {
    "h": 51.857,
    "s": 78.652,
    "l": 65.098
  },
  "oklch": {
    "l": 0.878,
    "c": 0.14184,
    "h": 100.4
  },
  "luminance": 0.68303
}

Semantic roles & 50–950 ramp

primary
#ECD960
secondary
#3648BA
accent
#27DB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD960

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

Preview Lab → · Contrast checker → · Palette generator →

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