#ECCE50#ECCE50

#ECCE50 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.4% C 0.146 H 95.7°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#ECCE50
RGBrgb(236, 206, 80)
HSLhsl(48, 80%, 62%)
HSVhsv(48, 66%, 93%)
CMYKcmyk(0%, 12.7%, 66.1%, 7.5%)
CIE-LABlab(83.21, -3.25, 64.20)
CIE-LCHlch(83.21, 64.29, 92.90°)
OKLaboklab(85.42% -0.0144 0.1449)
OKLCHoklch(85.42% 0.146 95.7)
XYZxyz(58.1141, 62.5576, 16.6017)
Luminance0.6256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCE50 #506EEC
analogous
#EC8050 #ECCE50 #BCEC50
triadic
#ECCE50 #50ECCE #CE50EC
tetradic
#ECCE50 #50EC80 #506EEC #EC50BC
square
#ECCE50 #50EC80 #506EEC #EC50BC
split-complementary
#ECCE50 #50BCEC #8050EC
monochromatic
#AF9113 #E6BE19 #ECCE50 #F2DD87 #F8EDBE

Accessibility & contrast

On white

1.55
#ECCE50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#ECCE50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCE50
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCE50#FFFFFF#000000##000000
##ECCE501.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA40
Deuteranopia (green-blind)
#EAD357
Tritanopia (blue-blind)
#FEBFB4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ecce50;
/* rgb */ color: rgb(236, 206, 80);
/* oklch */ color: oklch(85.4% 0.146 95.7);
Tailwind
colors: {
  custom: {
    50: '#f6dc87',
    500: '#ecce50',
    950: '#000000',
  },
}
SCSS
$custom: #ecce50;
$custom-light: #f6dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#ecce50",
  "rgb": {
    "r": 236,
    "g": 206,
    "b": 80
  },
  "hsl": {
    "h": 48.462,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.8542,
    "c": 0.14565,
    "h": 95.7
  },
  "luminance": 0.62555
}

Semantic roles & 50–950 ramp

primary
#ECCE50
secondary
#3149AF
accent
#32DD09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECCE50

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

Preview Lab → · Contrast checker → · Palette generator →

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