#ECD55A#ECD55A

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

Color values

HEX#ECD55A
RGBrgb(236, 213, 90)
HSLhsl(51, 79%, 64%)
HSVhsv(51, 62%, 93%)
CMYKcmyk(0%, 9.7%, 61.9%, 7.5%)
CIE-LABlab(85.08, -6.21, 61.99)
CIE-LCHlch(85.08, 62.30, 95.72°)
OKLaboklab(86.93% -0.0217 0.1417)
OKLCHoklch(86.93% 0.143 98.7)
XYZxyz(60.2343, 66.1622, 19.2687)
Luminance0.6616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD55A #5A71EC
analogous
#EC8C5A #ECD55A #BAEC5A
triadic
#ECD55A #5AECD5 #D55AEC
tetradic
#ECD55A #5AEC8C #5A71EC #EC5ABA
square
#ECD55A #5AEC8C #5A71EC #EC5ABA
split-complementary
#ECD55A #5ABAEC #8C5AEC
monochromatic
#B79D15 #E6C723 #ECD55A #F2E391 #F9F1C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD55A#FFFFFF#000000##000000
##ECD55A1.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)
#E8D04C
Deuteranopia (green-blind)
#EED860
Tritanopia (blue-blind)
#FDC7BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd55a;
/* rgb */ color: rgb(236, 213, 90);
/* oklch */ color: oklch(86.9% 0.143 98.7);
Tailwind
colors: {
  custom: {
    50: '#f5e18d',
    500: '#ecd55a',
    950: '#000000',
  },
}
SCSS
$custom: #ecd55a;
$custom-light: #f5e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd55a",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 90
  },
  "hsl": {
    "h": 50.548,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86927,
    "c": 0.14338,
    "h": 98.7
  },
  "luminance": 0.6616
}

Semantic roles & 50–950 ramp

primary
#ECD55A
secondary
#3449B6
accent
#2BDC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECD55A

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

Preview Lab → · Contrast checker → · Palette generator →

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