#ECD04F#ECD04F

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

Color values

HEX#ECD04F
RGBrgb(236, 208, 79)
HSLhsl(49, 81%, 62%)
HSVhsv(49, 67%, 93%)
CMYKcmyk(0%, 11.9%, 66.5%, 7.5%)
CIE-LABlab(83.71, -4.33, 65.14)
CIE-LCHlch(83.71, 65.28, 93.80°)
OKLaboklab(85.82% -0.0176 0.1468)
OKLCHoklch(85.82% 0.148 96.8)
XYZxyz(58.5620, 63.5120, 16.5700)
Luminance0.6351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD04F #4F6BEC
analogous
#EC814F #ECD04F #BAEC4F
triadic
#ECD04F #4FECD0 #D04FEC
tetradic
#ECD04F #4FEC81 #4F6BEC #EC4FBA
square
#ECD04F #4FEC81 #4F6BEC #EC4FBA
split-complementary
#ECD04F #4FBAEC #814FEC
monochromatic
#AE9213 #E5C119 #ECD04F #F2DF86 #F8EEBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD04F#FFFFFF#000000##000000
##ECD04F1.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)
#E4CB3E
Deuteranopia (green-blind)
#EBD556
Tritanopia (blue-blind)
#FEC1B5
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ecd04f;
/* rgb */ color: rgb(236, 208, 79);
/* oklch */ color: oklch(85.8% 0.148 96.8);
Tailwind
colors: {
  custom: {
    50: '#f6de87',
    500: '#ecd04f',
    950: '#000000',
  },
}
SCSS
$custom: #ecd04f;
$custom-light: #f6de87;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd04f",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 49.299,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85815,
    "c": 0.1478,
    "h": 96.8
  },
  "luminance": 0.63509
}

Semantic roles & 50–950 ramp

primary
#ECD04F
secondary
#3147AE
accent
#2EDD09
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD04F

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

Preview Lab → · Contrast checker → · Palette generator →

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