#ECD473#ECD473

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

Color values

HEX#ECD473
RGBrgb(236, 212, 115)
HSLhsl(48, 76%, 69%)
HSVhsv(48, 51%, 93%)
CMYKcmyk(0%, 10.2%, 51.3%, 7.5%)
CIE-LABlab(85.08, -3.85, 50.57)
CIE-LCHlch(85.08, 50.72, 94.35°)
OKLaboklab(87.01% -0.0121 0.1199)
OKLCHoklch(87.01% 0.121 95.8)
XYZxyz(61.2322, 66.1602, 25.7611)
Luminance0.6616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD473 #738BEC
analogous
#EC9873 #ECD473 #C8EC73
triadic
#ECD473 #73ECD4 #D473EC
tetradic
#ECD473 #73EC98 #738BEC #EC73C8
square
#ECD473 #73EC98 #738BEC #EC73C8
split-complementary
#ECD473 #73C8EC #9873EC
monochromatic
#C9A71B #E5C33D #ECD473 #F3E5A9 #FBF5DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD473#FFFFFF#000000##000000
##ECD4731.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)
#E5D06A
Deuteranopia (green-blind)
#ECD877
Tritanopia (blue-blind)
#FCC7BD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd473;
/* rgb */ color: rgb(236, 212, 115);
/* oklch */ color: oklch(87.0% 0.121 95.8);
Tailwind
colors: {
  custom: {
    50: '#f4e19d',
    500: '#ecd473',
    950: '#000000',
  },
}
SCSS
$custom: #ecd473;
$custom-light: #f4e19d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd473",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 115
  },
  "hsl": {
    "h": 48.099,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.87008,
    "c": 0.12051,
    "h": 95.8
  },
  "luminance": 0.66158
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECD473

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

Preview Lab → · Contrast checker → · Palette generator →

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