#ECD84D#ECD84D

#ECD84D is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.4% C 0.155 H 101.0°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#ECD84D
RGBrgb(236, 216, 77)
HSLhsl(52, 81%, 61%)
HSVhsv(52, 67%, 93%)
CMYKcmyk(0%, 8.5%, 67.4%, 7.5%)
CIE-LABlab(85.75, -8.48, 68.03)
CIE-LCHlch(85.75, 68.56, 97.11°)
OKLaboklab(87.42% -0.0297 0.1526)
OKLCHoklch(87.42% 0.155 101)
XYZxyz(60.4901, 67.4831, 16.8590)
Luminance0.6748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD84D #4D61EC
analogous
#EC894D #ECD84D #B1EC4D
triadic
#ECD84D #4DECD8 #D84DEC
tetradic
#ECD84D #4DEC89 #4D61EC #EC4DB1
square
#ECD84D #4DEC89 #4D61EC #EC4DB1
split-complementary
#ECD84D #4DB1EC #894DEC
monochromatic
#AC9912 #E4CA18 #ECD84D #F2E484 #F8F0BC

Accessibility & contrast

On white

1.45
#ECD84D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.50
#ECD84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD84D
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD84D#FFFFFF#000000##000000
##ECD84D1.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD23A
Deuteranopia (green-blind)
#F1DA55
Tritanopia (blue-blind)
#FEC9BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ecd84d;
/* rgb */ color: rgb(236, 216, 77);
/* oklch */ color: oklch(87.4% 0.155 101.0);
Tailwind
colors: {
  custom: {
    50: '#f6e386',
    500: '#ecd84d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd84d;
$custom-light: #f6e386;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd84d",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 77
  },
  "hsl": {
    "h": 52.453,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.87424,
    "c": 0.15541,
    "h": 101
  },
  "luminance": 0.6748
}

Semantic roles & 50–950 ramp

primary
#ECD84D
secondary
#3040AD
accent
#23DD08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD84D

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

Preview Lab → · Contrast checker → · Palette generator →

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