#ECD474#ECD474

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

Color values

HEX#ECD474
RGBrgb(236, 212, 116)
HSLhsl(48, 76%, 69%)
HSVhsv(48, 51%, 93%)
CMYKcmyk(0%, 10.2%, 50.8%, 7.5%)
CIE-LABlab(85.09, -3.76, 50.11)
CIE-LCHlch(85.09, 50.25, 94.29°)
OKLaboklab(87.02% -0.0118 0.119)
OKLCHoklch(87.02% 0.12 95.7)
XYZxyz(61.2900, 66.1833, 26.0658)
Luminance0.6618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD474 #748CEC
analogous
#EC9874 #ECD474 #C8EC74
triadic
#ECD474 #74ECD4 #D474EC
tetradic
#ECD474 #74EC98 #748CEC #EC74C8
square
#ECD474 #74EC98 #748CEC #EC74C8
split-complementary
#ECD474 #74C8EC #9874EC
monochromatic
#CAA71C #E5C33E #ECD474 #F3E5AA #FBF5E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD474#FFFFFF#000000##000000
##ECD4741.001.4814.2414.24
#FFFFFF1.481.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D06C
Deuteranopia (green-blind)
#ECD878
Tritanopia (blue-blind)
#FCC7BE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd474;
/* rgb */ color: rgb(236, 212, 116);
/* oklch */ color: oklch(87.0% 0.120 95.7);
Tailwind
colors: {
  custom: {
    50: '#f4e19e',
    500: '#ecd474',
    950: '#000000',
  },
}
SCSS
$custom: #ecd474;
$custom-light: #f4e19e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd474",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 116
  },
  "hsl": {
    "h": 48,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.87021,
    "c": 0.11954,
    "h": 95.7
  },
  "luminance": 0.66181
}

Semantic roles & 50–950 ramp

primary
#ECD474
secondary
#405AC5
accent
#36D80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD474

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

Preview Lab → · Contrast checker → · Palette generator →

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