#ECD56B#ECD56B

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

Color values

HEX#ECD56B
RGBrgb(236, 213, 107)
HSLhsl(49, 77%, 67%)
HSVhsv(49, 55%, 93%)
CMYKcmyk(0%, 9.7%, 54.7%, 7.5%)
CIE-LABlab(85.24, -5.01, 54.55)
CIE-LCHlch(85.24, 54.78, 95.24°)
OKLaboklab(87.11% -0.0164 0.1278)
OKLCHoklch(87.11% 0.129 97.3)
XYZxyz(61.0424, 66.4855, 23.5247)
Luminance0.6648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD56B #6B82EC
analogous
#EC946B #ECD56B #C3EC6B
triadic
#ECD56B #6BECD5 #D56BEC
tetradic
#ECD56B #6BEC94 #6B82EC #EC6BC3
square
#ECD56B #6BEC94 #6B82EC #EC6BC3
split-complementary
#ECD56B #6BC3EC #946BEC
monochromatic
#C4A519 #E5C635 #ECD56B #F3E4A1 #FAF4D7

Accessibility & contrast

On white

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

On black

14.30
#ECD56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD56B
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD56B#FFFFFF#000000##000000
##ECD56B1.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd56b;
/* rgb */ color: rgb(236, 213, 107);
/* oklch */ color: oklch(87.1% 0.129 97.3);
Tailwind
colors: {
  custom: {
    50: '#f5e198',
    500: '#ecd56b',
    950: '#000000',
  },
}
SCSS
$custom: #ecd56b;
$custom-light: #f5e198;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd56b",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 107
  },
  "hsl": {
    "h": 49.302,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.8711,
    "c": 0.12885,
    "h": 97.3
  },
  "luminance": 0.66483
}

Semantic roles & 50–950 ramp

primary
#ECD56B
secondary
#3A52C2
accent
#31D90C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD56B

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

Preview Lab → · Contrast checker → · Palette generator →

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