#ECD756#ECD756

#ECD756 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.3% C 0.148 H 100.0°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#ECD756
RGBrgb(236, 215, 86)
HSLhsl(52, 80%, 63%)
HSVhsv(52, 64%, 93%)
CMYKcmyk(0%, 8.9%, 63.6%, 7.5%)
CIE-LABlab(85.56, -7.47, 64.20)
CIE-LCHlch(85.56, 64.63, 96.64°)
OKLaboklab(87.3% -0.0258 0.1458)
OKLCHoklch(87.3% 0.148 100)
XYZxyz(60.5747, 67.1083, 18.5648)
Luminance0.6711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD756 #566BEC
analogous
#EC8C56 #ECD756 #B6EC56
triadic
#ECD756 #56ECD7 #D756EC
tetradic
#ECD756 #56EC8C #566BEC #EC56B6
square
#ECD756 #56EC8C #566BEC #EC56B6
split-complementary
#ECD756 #56B6EC #8C56EC
monochromatic
#B39D14 #E6CA1F #ECD756 #F2E48D #F8F1C4

Accessibility & contrast

On white

1.46
#ECD756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.42
#ECD756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD756
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD756#FFFFFF#000000##000000
##ECD7561.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD146
Deuteranopia (green-blind)
#F0D95D
Tritanopia (blue-blind)
#FDC8BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ecd756;
/* rgb */ color: rgb(236, 215, 86);
/* oklch */ color: oklch(87.3% 0.148 100.0);
Tailwind
colors: {
  custom: {
    50: '#f5e38b',
    500: '#ecd756',
    950: '#000000',
  },
}
SCSS
$custom: #ecd756;
$custom-light: #f5e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd756",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 86
  },
  "hsl": {
    "h": 51.6,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.87296,
    "c": 0.1481,
    "h": 100
  },
  "luminance": 0.67106
}

Semantic roles & 50–950 ramp

primary
#ECD756
secondary
#3345B3
accent
#27DC09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD756

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

Preview Lab → · Contrast checker → · Palette generator →

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