#ECD04D#ECD04D

#ECD04D is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.8% C 0.149 H 97.0°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#ECD04D
RGBrgb(236, 208, 77)
HSLhsl(49, 81%, 61%)
HSVhsv(49, 67%, 93%)
CMYKcmyk(0%, 11.9%, 67.4%, 7.5%)
CIE-LABlab(83.70, -4.43, 65.93)
CIE-LCHlch(83.70, 66.08, 93.85°)
OKLaboklab(85.8% -0.0181 0.1481)
OKLCHoklch(85.8% 0.149 97)
XYZxyz(58.4903, 63.4834, 16.1924)
Luminance0.6348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD04D #4D69EC
analogous
#EC814D #ECD04D #B9EC4D
triadic
#ECD04D #4DECD0 #D04DEC
tetradic
#ECD04D #4DEC81 #4D69EC #EC4DB9
square
#ECD04D #4DEC81 #4D69EC #EC4DB9
split-complementary
#ECD04D #4DB9EC #814DEC
monochromatic
#AC9112 #E4C018 #ECD04D #F2DF84 #F8EDBC

Accessibility & contrast

On white

1.53
#ECD04D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#ECD04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD04D
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD04D#FFFFFF#000000##000000
##ECD04D1.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB3C
Deuteranopia (green-blind)
#EBD554
Tritanopia (blue-blind)
#FEC1B5
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ecd04d;
/* rgb */ color: rgb(236, 208, 77);
/* oklch */ color: oklch(85.8% 0.149 97.0);
Tailwind
colors: {
  custom: {
    50: '#f6de85',
    500: '#ecd04d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd04d;
$custom-light: #f6de85;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd04d",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 77
  },
  "hsl": {
    "h": 49.434,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85798,
    "c": 0.14921,
    "h": 97
  },
  "luminance": 0.6348
}

Semantic roles & 50–950 ramp

primary
#ECD04D
secondary
#3046AD
accent
#2EDD08
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD04D

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

Preview Lab → · Contrast checker → · Palette generator →

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