#ECD572#ECD572

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

Color values

HEX#ECD572
RGBrgb(236, 213, 114)
HSLhsl(49, 76%, 69%)
HSVhsv(49, 52%, 93%)
CMYKcmyk(0%, 9.7%, 51.7%, 7.5%)
CIE-LABlab(85.32, -4.44, 51.34)
CIE-LCHlch(85.32, 51.53, 94.94°)
OKLaboklab(87.2% -0.014 0.1215)
OKLCHoklch(87.2% 0.122 96.6)
XYZxyz(61.4257, 66.6388, 25.5433)
Luminance0.6664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD572 #7289EC
analogous
#EC9872 #ECD572 #C6EC72
triadic
#ECD572 #72ECD5 #D572EC
tetradic
#ECD572 #72EC98 #7289EC #EC72C6
square
#ECD572 #72EC98 #7289EC #EC72C6
split-complementary
#ECD572 #72C6EC #9872EC
monochromatic
#C9A81B #E5C53C #ECD572 #F3E5A8 #FBF5DE

Accessibility & contrast

On white

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

On black

14.33
#ECD572 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD572
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD572#FFFFFF#000000##000000
##ECD5721.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd572;
/* rgb */ color: rgb(236, 213, 114);
/* oklch */ color: oklch(87.2% 0.122 96.6);
Tailwind
colors: {
  custom: {
    50: '#f4e19d',
    500: '#ecd572',
    950: '#000000',
  },
}
SCSS
$custom: #ecd572;
$custom-light: #f4e19d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd572",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 114
  },
  "hsl": {
    "h": 48.689,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.87197,
    "c": 0.1223,
    "h": 96.6
  },
  "luminance": 0.66636
}

Semantic roles & 50–950 ramp

primary
#ECD572
secondary
#3E57C4
accent
#33D80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD572

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

Preview Lab → · Contrast checker → · Palette generator →

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