#ECE04D#ECE04D

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

Color values

HEX#ECE04D
RGBrgb(236, 224, 77)
HSLhsl(55, 81%, 61%)
HSVhsv(55, 67%, 93%)
CMYKcmyk(0%, 5.1%, 67.4%, 7.5%)
CIE-LABlab(87.82, -12.48, 70.13)
CIE-LCHlch(87.82, 71.23, 100.09°)
OKLaboklab(89.07% -0.041 0.157)
OKLCHoklch(89.07% 0.162 104.6)
XYZxyz(62.5898, 71.6824, 17.5589)
Luminance0.7168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE04D #4D59EC
analogous
#EC914D #ECE04D #A9EC4D
triadic
#ECE04D #4DECE0 #E04DEC
tetradic
#ECE04D #4DEC91 #4D59EC #EC4DA9
square
#ECE04D #4DEC91 #4D59EC #EC4DA9
split-complementary
#ECE04D #4DA9EC #914DEC
monochromatic
#ACA112 #E4D418 #ECE04D #F2EA84 #F8F3BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECE04D#FFFFFF#000000##000000
##ECE04D1.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)
#F3D838
Deuteranopia (green-blind)
#F7DF56
Tritanopia (blue-blind)
#FDD1C2
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ece04d;
/* rgb */ color: rgb(236, 224, 77);
/* oklch */ color: oklch(89.1% 0.162 104.6);
Tailwind
colors: {
  custom: {
    50: '#f6e987',
    500: '#ece04d',
    950: '#000000',
  },
}
SCSS
$custom: #ece04d;
$custom-light: #f6e987;
$custom-dark: #000000;
JSON
{
  "hex": "#ece04d",
  "rgb": {
    "r": 236,
    "g": 224,
    "b": 77
  },
  "hsl": {
    "h": 55.472,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.89068,
    "c": 0.16224,
    "h": 104.6
  },
  "luminance": 0.7168
}

Semantic roles & 50–950 ramp

primary
#ECE04D
secondary
#303AAD
accent
#18DD08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #ECE04D

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

Preview Lab → · Contrast checker → · Palette generator →

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