#ECD55F#ECD55F

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

Color values

HEX#ECD55F
RGBrgb(236, 213, 95)
HSLhsl(50, 79%, 65%)
HSVhsv(50, 60%, 93%)
CMYKcmyk(0%, 9.7%, 59.7%, 7.5%)
CIE-LABlab(85.12, -5.88, 59.86)
CIE-LCHlch(85.12, 60.15, 95.61°)
OKLaboklab(86.98% -0.0202 0.1378)
OKLCHoklch(86.98% 0.139 98.4)
XYZxyz(60.4543, 66.2502, 20.4275)
Luminance0.6625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD55F #5F76EC
analogous
#EC8F5F #ECD55F #BCEC5F
triadic
#ECD55F #5FECD5 #D55FEC
tetradic
#ECD55F #5FEC8F #5F76EC #EC5FBC
square
#ECD55F #5FEC8F #5F76EC #EC5FBC
split-complementary
#ECD55F #5FBCEC #8F5FEC
monochromatic
#BAA016 #E6C728 #ECD55F #F2E396 #F9F2CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD55F#FFFFFF#000000##000000
##ECD55F1.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)
#E8D052
Deuteranopia (green-blind)
#EED865
Tritanopia (blue-blind)
#FDC7BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd55f;
/* rgb */ color: rgb(236, 213, 95);
/* oklch */ color: oklch(87.0% 0.139 98.4);
Tailwind
colors: {
  custom: {
    50: '#f5e191',
    500: '#ecd55f',
    950: '#000000',
  },
}
SCSS
$custom: #ecd55f;
$custom-light: #f5e191;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd55f",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 95
  },
  "hsl": {
    "h": 50.213,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86977,
    "c": 0.13932,
    "h": 98.4
  },
  "luminance": 0.66248
}

Semantic roles & 50–950 ramp

primary
#ECD55F
secondary
#364BBA
accent
#2CDB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD55F

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

Preview Lab → · Contrast checker → · Palette generator →

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