#ECD24D#ECD24D

#ECD24D is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 86.2% C 0.151 H 98.0°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#ECD24D
RGBrgb(236, 210, 77)
HSLhsl(50, 81%, 61%)
HSVhsv(50, 67%, 93%)
CMYKcmyk(0%, 11%, 67.4%, 7.5%)
CIE-LABlab(84.21, -5.45, 66.45)
CIE-LCHlch(84.21, 66.68, 94.69°)
OKLaboklab(86.2% -0.021 0.1492)
OKLCHoklch(86.2% 0.151 98)
XYZxyz(58.9809, 64.4647, 16.3560)
Luminance0.6446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD24D #4D67EC
analogous
#EC834D #ECD24D #B7EC4D
triadic
#ECD24D #4DECD2 #D24DEC
tetradic
#ECD24D #4DEC83 #4D67EC #EC4DB7
square
#ECD24D #4DEC83 #4D67EC #EC4DB7
split-complementary
#ECD24D #4DB7EC #834DEC
monochromatic
#AC9312 #E4C218 #ECD24D #F2E084 #F8EEBC

Accessibility & contrast

On white

1.51
#ECD24D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.89
#ECD24D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD24D
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD24D#FFFFFF#000000##000000
##ECD24D1.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD3B
Deuteranopia (green-blind)
#EDD654
Tritanopia (blue-blind)
#FEC3B7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ecd24d;
/* rgb */ color: rgb(236, 210, 77);
/* oklch */ color: oklch(86.2% 0.151 98.0);
Tailwind
colors: {
  custom: {
    50: '#f6df86',
    500: '#ecd24d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd24d;
$custom-light: #f6df86;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd24d",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 77
  },
  "hsl": {
    "h": 50.189,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86203,
    "c": 0.15069,
    "h": 98
  },
  "luminance": 0.64462
}

Semantic roles & 50–950 ramp

primary
#ECD24D
secondary
#3045AD
accent
#2BDD08
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD24D

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

Preview Lab → · Contrast checker → · Palette generator →

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