#ECD55D#ECD55D

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

Color values

HEX#ECD55D
RGBrgb(236, 213, 93)
HSLhsl(50, 79%, 65%)
HSVhsv(50, 61%, 93%)
CMYKcmyk(0%, 9.7%, 60.6%, 7.5%)
CIE-LABlab(85.11, -6.01, 60.72)
CIE-LCHlch(85.11, 61.01, 95.66°)
OKLaboklab(86.96% -0.0208 0.1394)
OKLCHoklch(86.96% 0.141 98.5)
XYZxyz(60.3646, 66.2143, 19.9548)
Luminance0.6621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD55D #5D74EC
analogous
#EC8E5D #ECD55D #BBEC5D
triadic
#ECD55D #5DECD5 #D55DEC
tetradic
#ECD55D #5DEC8E #5D74EC #EC5DBB
square
#ECD55D #5DEC8E #5D74EC #EC5DBB
split-complementary
#ECD55D #5DBBEC #8E5DEC
monochromatic
#B99F16 #E6C726 #ECD55D #F2E394 #F9F1CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD55D#FFFFFF#000000##000000
##ECD55D1.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)
#E8D050
Deuteranopia (green-blind)
#EED863
Tritanopia (blue-blind)
#FDC7BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd55d;
/* rgb */ color: rgb(236, 213, 93);
/* oklch */ color: oklch(87.0% 0.141 98.5);
Tailwind
colors: {
  custom: {
    50: '#f5e18f',
    500: '#ecd55d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd55d;
$custom-light: #f5e18f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd55d",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 93
  },
  "hsl": {
    "h": 50.35,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.86956,
    "c": 0.14097,
    "h": 98.5
  },
  "luminance": 0.66212
}

Semantic roles & 50–950 ramp

primary
#ECD55D
secondary
#354AB8
accent
#2CDB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECD55D

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

Preview Lab → · Contrast checker → · Palette generator →

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