#ECD56A#ECD56A

#ECD56A is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 87.1% C 0.130 H 97.4°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#ECD56A
RGBrgb(236, 213, 106)
HSLhsl(49, 77%, 67%)
HSVhsv(49, 55%, 93%)
CMYKcmyk(0%, 9.7%, 55.1%, 7.5%)
CIE-LABlab(85.23, -5.08, 55.00)
CIE-LCHlch(85.23, 55.23, 95.28°)
OKLaboklab(87.1% -0.0167 0.1287)
OKLCHoklch(87.1% 0.13 97.4)
XYZxyz(60.9901, 66.4645, 23.2492)
Luminance0.6646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD56A #6A81EC
analogous
#EC946A #ECD56A #C2EC6A
triadic
#ECD56A #6AECD5 #D56AEC
tetradic
#ECD56A #6AEC94 #6A81EC #EC6AC2
square
#ECD56A #6AEC94 #6A81EC #EC6AC2
split-complementary
#ECD56A #6AC2EC #946AEC
monochromatic
#C3A519 #E5C634 #ECD56A #F3E4A0 #FAF4D7

Accessibility & contrast

On white

1.47
#ECD56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#ECD56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD56A
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD56A#FFFFFF#000000##000000
##ECD56A1.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D060
Deuteranopia (green-blind)
#EDD86F
Tritanopia (blue-blind)
#FCC8BD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd56a;
/* rgb */ color: rgb(236, 213, 106);
/* oklch */ color: oklch(87.1% 0.130 97.4);
Tailwind
colors: {
  custom: {
    50: '#f5e197',
    500: '#ecd56a',
    950: '#000000',
  },
}
SCSS
$custom: #ecd56a;
$custom-light: #f5e197;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd56a",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 106
  },
  "hsl": {
    "h": 49.385,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87098,
    "c": 0.12976,
    "h": 97.4
  },
  "luminance": 0.66462
}

Semantic roles & 50–950 ramp

primary
#ECD56A
secondary
#3951C1
accent
#30DA0C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD56A

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

Preview Lab → · Contrast checker → · Palette generator →

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