#ECD571#ECD571

#ECD571 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.2% C 0.123 H 96.7°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#ECD571
RGBrgb(236, 213, 113)
HSLhsl(49, 76%, 68%)
HSVhsv(49, 52%, 93%)
CMYKcmyk(0%, 9.7%, 52.1%, 7.5%)
CIE-LABlab(85.31, -4.52, 51.80)
CIE-LCHlch(85.31, 52.00, 94.99°)
OKLaboklab(87.18% -0.0143 0.1224)
OKLCHoklch(87.18% 0.123 96.7)
XYZxyz(61.3691, 66.6161, 25.2452)
Luminance0.6661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD571 #7188EC
analogous
#EC9771 #ECD571 #C6EC71
triadic
#ECD571 #71ECD5 #D571EC
tetradic
#ECD571 #71EC97 #7188EC #EC71C6
square
#ECD571 #71EC97 #7188EC #EC71C6
split-complementary
#ECD571 #71C6EC #9771EC
monochromatic
#C8A71B #E5C53B #ECD571 #F3E5A7 #FAF5DD

Accessibility & contrast

On white

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

On black

14.32
#ECD571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD571
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD571#FFFFFF#000000##000000
##ECD5711.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D168
Deuteranopia (green-blind)
#EDD875
Tritanopia (blue-blind)
#FCC8BE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd571;
/* rgb */ color: rgb(236, 213, 113);
/* oklch */ color: oklch(87.2% 0.123 96.7);
Tailwind
colors: {
  custom: {
    50: '#f4e19c',
    500: '#ecd571',
    950: '#000000',
  },
}
SCSS
$custom: #ecd571;
$custom-light: #f4e19c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd571",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 113
  },
  "hsl": {
    "h": 48.78,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.87184,
    "c": 0.12325,
    "h": 96.7
  },
  "luminance": 0.66614
}

Semantic roles & 50–950 ramp

primary
#ECD571
secondary
#3D56C4
accent
#33D90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD571

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

Preview Lab → · Contrast checker → · Palette generator →

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