#ECD574#ECD574

#ECD574 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.2% C 0.120 H 96.3°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#ECD574
RGBrgb(236, 213, 116)
HSLhsl(49, 76%, 69%)
HSVhsv(49, 51%, 93%)
CMYKcmyk(0%, 9.7%, 50.8%, 7.5%)
CIE-LABlab(85.34, -4.27, 50.41)
CIE-LCHlch(85.34, 50.60, 94.84°)
OKLaboklab(87.22% -0.0132 0.1196)
OKLCHoklch(87.22% 0.12 96.3)
XYZxyz(61.5408, 66.6848, 26.1494)
Luminance0.6668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD574 #748BEC
analogous
#EC9974 #ECD574 #C7EC74
triadic
#ECD574 #74ECD5 #D574EC
tetradic
#ECD574 #74EC99 #748BEC #EC74C7
square
#ECD574 #74EC99 #748BEC #EC74C7
split-complementary
#ECD574 #74C7EC #9974EC
monochromatic
#CAA91C #E5C53E #ECD574 #F3E5AA #FBF6E0

Accessibility & contrast

On white

1.46
#ECD574 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#ECD574 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD574
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD574#FFFFFF#000000##000000
##ECD5741.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D16B
Deuteranopia (green-blind)
#ECD978
Tritanopia (blue-blind)
#FCC8BE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd574;
/* rgb */ color: rgb(236, 213, 116);
/* oklch */ color: oklch(87.2% 0.120 96.3);
Tailwind
colors: {
  custom: {
    50: '#f4e19e',
    500: '#ecd574',
    950: '#000000',
  },
}
SCSS
$custom: #ecd574;
$custom-light: #f4e19e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd574",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 116
  },
  "hsl": {
    "h": 48.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.87223,
    "c": 0.12037,
    "h": 96.3
  },
  "luminance": 0.66682
}

Semantic roles & 50–950 ramp

primary
#ECD574
secondary
#4059C5
accent
#34D80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD574

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

Preview Lab → · Contrast checker → · Palette generator →

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