#ECD956#ECD956

#ECD956 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.7% C 0.150 H 101.0°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#ECD956
RGBrgb(236, 217, 86)
HSLhsl(52, 80%, 63%)
HSVhsv(52, 64%, 93%)
CMYKcmyk(0%, 8.1%, 63.6%, 7.5%)
CIE-LABlab(86.07, -8.48, 64.75)
CIE-LCHlch(86.07, 65.30, 97.46°)
OKLaboklab(87.7% -0.0287 0.147)
OKLCHoklch(87.7% 0.15 101)
XYZxyz(61.0871, 68.1330, 18.7356)
Luminance0.6813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD956 #5669EC
analogous
#EC8E56 #ECD956 #B4EC56
triadic
#ECD956 #56ECD9 #D956EC
tetradic
#ECD956 #56EC8E #5669EC #EC56B4
square
#ECD956 #56EC8E #5669EC #EC56B4
split-complementary
#ECD956 #56B4EC #8E56EC
monochromatic
#B39F14 #E6CD1F #ECD956 #F2E58D #F8F2C4

Accessibility & contrast

On white

1.44
#ECD956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.63
#ECD956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD956
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD956#FFFFFF#000000##000000
##ECD9561.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD346
Deuteranopia (green-blind)
#F2DB5D
Tritanopia (blue-blind)
#FDCABE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd956;
/* rgb */ color: rgb(236, 217, 86);
/* oklch */ color: oklch(87.7% 0.150 101.0);
Tailwind
colors: {
  custom: {
    50: '#f5e48b',
    500: '#ecd956',
    950: '#000000',
  },
}
SCSS
$custom: #ecd956;
$custom-light: #f5e48b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd956",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 86
  },
  "hsl": {
    "h": 52.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.87704,
    "c": 0.14977,
    "h": 101
  },
  "luminance": 0.6813
}

Semantic roles & 50–950 ramp

primary
#ECD956
secondary
#3343B3
accent
#24DC09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD956

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

Preview Lab → · Contrast checker → · Palette generator →

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