#ECD156#ECD156

#ECD156 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 86.1% C 0.143 H 96.8°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#ECD156
RGBrgb(236, 209, 86)
HSLhsl(49, 80%, 63%)
HSVhsv(49, 64%, 93%)
CMYKcmyk(0%, 11.4%, 63.6%, 7.5%)
CIE-LABlab(84.02, -4.43, 62.55)
CIE-LCHlch(84.02, 62.71, 94.05°)
OKLaboklab(86.08% -0.0171 0.1424)
OKLCHoklch(86.08% 0.143 96.8)
XYZxyz(59.0749, 64.1085, 18.0648)
Luminance0.6411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD156 #5671EC
analogous
#EC8656 #ECD156 #BCEC56
triadic
#ECD156 #56ECD1 #D156EC
tetradic
#ECD156 #56EC86 #5671EC #EC56BC
square
#ECD156 #56EC86 #5671EC #EC56BC
split-complementary
#ECD156 #56BCEC #8656EC
monochromatic
#B39714 #E6C21F #ECD156 #F2E08D #F8EFC4

Accessibility & contrast

On white

1.52
#ECD156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#ECD156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD156
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD156#FFFFFF#000000##000000
##ECD1561.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC48
Deuteranopia (green-blind)
#ECD55C
Tritanopia (blue-blind)
#FEC2B7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ecd156;
/* rgb */ color: rgb(236, 209, 86);
/* oklch */ color: oklch(86.1% 0.143 96.8);
Tailwind
colors: {
  custom: {
    50: '#f6de8b',
    500: '#ecd156',
    950: '#000000',
  },
}
SCSS
$custom: #ecd156;
$custom-light: #f6de8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd156",
  "rgb": {
    "r": 236,
    "g": 209,
    "b": 86
  },
  "hsl": {
    "h": 49.2,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.86079,
    "c": 0.14337,
    "h": 96.8
  },
  "luminance": 0.64106
}

Semantic roles & 50–950 ramp

primary
#ECD156
secondary
#334AB3
accent
#2FDC09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD156

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

Preview Lab → · Contrast checker → · Palette generator →

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