#ECD56E#ECD56E

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

Color values

HEX#ECD56E
RGBrgb(236, 213, 110)
HSLhsl(49, 77%, 68%)
HSVhsv(49, 53%, 93%)
CMYKcmyk(0%, 9.7%, 53.4%, 7.5%)
CIE-LABlab(85.28, -4.77, 53.18)
CIE-LCHlch(85.28, 53.40, 95.12°)
OKLaboklab(87.15% -0.0153 0.1251)
OKLCHoklch(87.15% 0.126 97)
XYZxyz(61.2030, 66.5497, 24.3704)
Luminance0.6655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD56E #6E85EC
analogous
#EC966E #ECD56E #C4EC6E
triadic
#ECD56E #6EECD5 #D56EEC
tetradic
#ECD56E #6EEC96 #6E85EC #EC6EC4
square
#ECD56E #6EEC96 #6E85EC #EC6EC4
split-complementary
#ECD56E #6EC4EC #966EEC
monochromatic
#C6A61A #E5C538 #ECD56E #F3E5A4 #FAF4DA

Accessibility & contrast

On white

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

On black

14.31
#ECD56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD56E
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD56E#FFFFFF#000000##000000
##ECD56E1.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd56e;
/* rgb */ color: rgb(236, 213, 110);
/* oklch */ color: oklch(87.1% 0.126 97.0);
Tailwind
colors: {
  custom: {
    50: '#f5e19a',
    500: '#ecd56e',
    950: '#000000',
  },
}
SCSS
$custom: #ecd56e;
$custom-light: #f5e19a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd56e",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 110
  },
  "hsl": {
    "h": 49.048,
    "s": 76.829,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87146,
    "c": 0.12608,
    "h": 97
  },
  "luminance": 0.66547
}

Semantic roles & 50–950 ramp

primary
#ECD56E
secondary
#3B54C3
accent
#32D90C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD56E

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

Preview Lab → · Contrast checker → · Palette generator →

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