#ECD456#ECD456

#ECD456 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.7% C 0.146 H 98.5°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#ECD456
RGBrgb(236, 212, 86)
HSLhsl(50, 80%, 63%)
HSVhsv(50, 64%, 93%)
CMYKcmyk(0%, 10.2%, 63.6%, 7.5%)
CIE-LABlab(84.79, -5.95, 63.38)
CIE-LCHlch(84.79, 63.66, 95.37°)
OKLaboklab(86.69% -0.0215 0.1441)
OKLCHoklch(86.69% 0.146 98.5)
XYZxyz(59.8178, 65.5945, 18.3125)
Luminance0.6559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD456 #566EEC
analogous
#EC8956 #ECD456 #B9EC56
triadic
#ECD456 #56ECD4 #D456EC
tetradic
#ECD456 #56EC89 #566EEC #EC56B9
square
#ECD456 #56EC89 #566EEC #EC56B9
split-complementary
#ECD456 #56B9EC #8956EC
monochromatic
#B39A14 #E6C61F #ECD456 #F2E28D #F8F0C4

Accessibility & contrast

On white

1.49
#ECD456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#ECD456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD456
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD456#FFFFFF#000000##000000
##ECD4561.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF47
Deuteranopia (green-blind)
#EED75D
Tritanopia (blue-blind)
#FDC5B9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd456;
/* rgb */ color: rgb(236, 212, 86);
/* oklch */ color: oklch(86.7% 0.146 98.5);
Tailwind
colors: {
  custom: {
    50: '#f5e08b',
    500: '#ecd456',
    950: '#000000',
  },
}
SCSS
$custom: #ecd456;
$custom-light: #f5e08b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd456",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 86
  },
  "hsl": {
    "h": 50.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.86686,
    "c": 0.14569,
    "h": 98.5
  },
  "luminance": 0.65592
}

Semantic roles & 50–950 ramp

primary
#ECD456
secondary
#3347B3
accent
#2BDC09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD456

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

Preview Lab → · Contrast checker → · Palette generator →

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