#ECD471#ECD471

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

Color values

HEX#ECD471
RGBrgb(236, 212, 113)
HSLhsl(48, 76%, 68%)
HSVhsv(48, 52%, 93%)
CMYKcmyk(0%, 10.2%, 52.1%, 7.5%)
CIE-LABlab(85.05, -4.01, 51.50)
CIE-LCHlch(85.05, 51.66, 94.46°)
OKLaboklab(86.98% -0.0128 0.1218)
OKLCHoklch(86.98% 0.122 96)
XYZxyz(61.1183, 66.1146, 25.1616)
Luminance0.6611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD471 #7189EC
analogous
#EC9671 #ECD471 #C6EC71
triadic
#ECD471 #71ECD4 #D471EC
tetradic
#ECD471 #71EC96 #7189EC #EC71C6
square
#ECD471 #71EC96 #7189EC #EC71C6
split-complementary
#ECD471 #71C6EC #9671EC
monochromatic
#C8A61B #E5C43B #ECD471 #F3E4A7 #FAF5DD

Accessibility & contrast

On white

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

On black

14.22
#ECD471 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD471
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD471#FFFFFF#000000##000000
##ECD4711.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd471;
/* rgb */ color: rgb(236, 212, 113);
/* oklch */ color: oklch(87.0% 0.122 96.0);
Tailwind
colors: {
  custom: {
    50: '#f4e19c',
    500: '#ecd471',
    950: '#000000',
  },
}
SCSS
$custom: #ecd471;
$custom-light: #f4e19c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd471",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 113
  },
  "hsl": {
    "h": 48.293,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.86982,
    "c": 0.12243,
    "h": 96
  },
  "luminance": 0.66112
}

Semantic roles & 50–950 ramp

primary
#ECD471
secondary
#3D57C4
accent
#35D90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD471

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

Preview Lab → · Contrast checker → · Palette generator →

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