#ECD475#ECD475

#ECD475 is a very light, moderate yellow. Relative luminance 0.662; OKLCH L 87.0% C 0.119 H 95.5°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#ECD475
RGBrgb(236, 212, 117)
HSLhsl(48, 76%, 69%)
HSVhsv(48, 50%, 93%)
CMYKcmyk(0%, 10.2%, 50.4%, 7.5%)
CIE-LABlab(85.10, -3.68, 49.64)
CIE-LCHlch(85.10, 49.78, 94.23°)
OKLaboklab(87.03% -0.0114 0.118)
OKLCHoklch(87.03% 0.119 95.5)
XYZxyz(61.3485, 66.2067, 26.3738)
Luminance0.6620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD475 #758DEC
analogous
#EC9975 #ECD475 #C9EC75
triadic
#ECD475 #75ECD4 #D475EC
tetradic
#ECD475 #75EC99 #758DEC #EC75C9
square
#ECD475 #75EC99 #758DEC #EC75C9
split-complementary
#ECD475 #75C9EC #9975EC
monochromatic
#CBA71C #E5C33F #ECD475 #F3E5AB #FBF6E1

Accessibility & contrast

On white

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

On black

14.24
#ECD475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD475
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD475#FFFFFF#000000##000000
##ECD4751.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D06D
Deuteranopia (green-blind)
#EBD879
Tritanopia (blue-blind)
#FCC7BE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd475;
/* rgb */ color: rgb(236, 212, 117);
/* oklch */ color: oklch(87.0% 0.119 95.5);
Tailwind
colors: {
  custom: {
    50: '#f4e19f',
    500: '#ecd475',
    950: '#000000',
  },
}
SCSS
$custom: #ecd475;
$custom-light: #f4e19f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd475",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 117
  },
  "hsl": {
    "h": 47.899,
    "s": 75.796,
    "l": 69.216
  },
  "oklch": {
    "l": 0.87034,
    "c": 0.11857,
    "h": 95.5
  },
  "luminance": 0.66204
}

Semantic roles & 50–950 ramp

primary
#ECD475
secondary
#415BC5
accent
#36D80E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD475

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

Preview Lab → · Contrast checker → · Palette generator →

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