#ECE04F#ECE04F

#ECE04F is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 89.1% C 0.161 H 104.6°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#ECE04F
RGBrgb(236, 224, 79)
HSLhsl(55, 81%, 62%)
HSVhsv(55, 67%, 93%)
CMYKcmyk(0%, 5.1%, 66.5%, 7.5%)
CIE-LABlab(87.83, -12.37, 69.38)
CIE-LCHlch(87.83, 70.47, 100.11°)
OKLaboklab(89.08% -0.0405 0.1557)
OKLCHoklch(89.08% 0.161 104.6)
XYZxyz(62.6615, 71.7110, 17.9365)
Luminance0.7171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE04F #4F5BEC
analogous
#EC924F #ECE04F #AAEC4F
triadic
#ECE04F #4FECE0 #E04FEC
tetradic
#ECE04F #4FEC92 #4F5BEC #EC4FAA
square
#ECE04F #4FEC92 #4F5BEC #EC4FAA
split-complementary
#ECE04F #4FAAEC #924FEC
monochromatic
#AEA213 #E5D519 #ECE04F #F2EA86 #F8F3BD

Accessibility & contrast

On white

1.37
#ECE04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.34
#ECE04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE04F
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE04F#FFFFFF#000000##000000
##ECE04F1.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D83B
Deuteranopia (green-blind)
#F7DF58
Tritanopia (blue-blind)
#FDD1C3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ece04f;
/* rgb */ color: rgb(236, 224, 79);
/* oklch */ color: oklch(89.1% 0.161 104.6);
Tailwind
colors: {
  custom: {
    50: '#f6e988',
    500: '#ece04f',
    950: '#000000',
  },
}
SCSS
$custom: #ece04f;
$custom-light: #f6e988;
$custom-dark: #000000;
JSON
{
  "hex": "#ece04f",
  "rgb": {
    "r": 236,
    "g": 224,
    "b": 79
  },
  "hsl": {
    "h": 55.414,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.89083,
    "c": 0.1609,
    "h": 104.6
  },
  "luminance": 0.71709
}

Semantic roles & 50–950 ramp

primary
#ECE04F
secondary
#313AAE
accent
#19DD09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #ECE04F

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

Preview Lab → · Contrast checker → · Palette generator →

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