#ECD472#ECD472

#ECD472 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 87.0% C 0.121 H 95.9°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#ECD472
RGBrgb(236, 212, 114)
HSLhsl(48, 76%, 69%)
HSVhsv(48, 52%, 93%)
CMYKcmyk(0%, 10.2%, 51.7%, 7.5%)
CIE-LABlab(85.07, -3.93, 51.04)
CIE-LCHlch(85.07, 51.19, 94.40°)
OKLaboklab(87% -0.0125 0.1208)
OKLCHoklch(87% 0.121 95.9)
XYZxyz(61.1749, 66.1373, 25.4597)
Luminance0.6613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD472 #728AEC
analogous
#EC9772 #ECD472 #C7EC72
triadic
#ECD472 #72ECD4 #D472EC
tetradic
#ECD472 #72EC97 #728AEC #EC72C7
square
#ECD472 #72EC97 #728AEC #EC72C7
split-complementary
#ECD472 #72C7EC #9772EC
monochromatic
#C9A61B #E5C43C #ECD472 #F3E4A8 #FBF5DE

Accessibility & contrast

On white

1.48
#ECD472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#ECD472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD472
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD472#FFFFFF#000000##000000
##ECD4721.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D069
Deuteranopia (green-blind)
#ECD876
Tritanopia (blue-blind)
#FCC7BD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd472;
/* rgb */ color: rgb(236, 212, 114);
/* oklch */ color: oklch(87.0% 0.121 95.9);
Tailwind
colors: {
  custom: {
    50: '#f4e19d',
    500: '#ecd472',
    950: '#000000',
  },
}
SCSS
$custom: #ecd472;
$custom-light: #f4e19d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd472",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 114
  },
  "hsl": {
    "h": 48.197,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86995,
    "c": 0.12147,
    "h": 95.9
  },
  "luminance": 0.66135
}

Semantic roles & 50–950 ramp

primary
#ECD472
secondary
#3E58C4
accent
#35D80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD472

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

Preview Lab → · Contrast checker → · Palette generator →

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