#ECD55E#ECD55E

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

Color values

HEX#ECD55E
RGBrgb(236, 213, 94)
HSLhsl(50, 79%, 65%)
HSVhsv(50, 60%, 93%)
CMYKcmyk(0%, 9.7%, 60.2%, 7.5%)
CIE-LABlab(85.11, -5.95, 60.29)
CIE-LCHlch(85.11, 60.58, 95.64°)
OKLaboklab(86.97% -0.0205 0.1386)
OKLCHoklch(86.97% 0.14 98.4)
XYZxyz(60.4091, 66.2322, 20.1896)
Luminance0.6623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD55E #5E75EC
analogous
#EC8E5E #ECD55E #BCEC5E
triadic
#ECD55E #5EECD5 #D55EEC
tetradic
#ECD55E #5EEC8E #5E75EC #EC5EBC
square
#ECD55E #5EEC8E #5E75EC #EC5EBC
split-complementary
#ECD55E #5EBCEC #8E5EEC
monochromatic
#BA9F16 #E6C727 #ECD55E #F2E395 #F9F2CB

Accessibility & contrast

On white

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

On black

14.25
#ECD55E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD55E
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD55E#FFFFFF#000000##000000
##ECD55E1.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D051
Deuteranopia (green-blind)
#EED864
Tritanopia (blue-blind)
#FDC7BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd55e;
/* rgb */ color: rgb(236, 213, 94);
/* oklch */ color: oklch(87.0% 0.140 98.4);
Tailwind
colors: {
  custom: {
    50: '#f5e190',
    500: '#ecd55e',
    950: '#000000',
  },
}
SCSS
$custom: #ecd55e;
$custom-light: #f5e190;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd55e",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 94
  },
  "hsl": {
    "h": 50.282,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86967,
    "c": 0.14014,
    "h": 98.4
  },
  "luminance": 0.6623
}

Semantic roles & 50–950 ramp

primary
#ECD55E
secondary
#354BB9
accent
#2CDB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD55E

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

Preview Lab → · Contrast checker → · Palette generator →

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