#ECEC63#ECEC63

#ECEC63 is a very light, vivid yellow. Relative luminance 0.787; OKLCH L 91.7% C 0.157 H 109.1°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#ECEC63
RGBrgb(236, 236, 99)
HSLhsl(60, 78%, 66%)
HSVhsv(60, 58%, 93%)
CMYKcmyk(0%, 0%, 58.1%, 7.5%)
CIE-LABlab(91.11, -17.05, 64.74)
CIE-LCHlch(91.11, 66.95, 104.75°)
OKLaboklab(91.75% -0.0516 0.1488)
OKLCHoklch(91.75% 0.157 109.1)
XYZxyz(66.8416, 78.7264, 23.4767)
Luminance0.7873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEC63 #6363EC
analogous
#ECA763 #ECEC63 #A7EC63
triadic
#ECEC63 #63ECEC #EC63EC
tetradic
#ECEC63 #63ECA7 #6363EC #EC63A7
square
#ECEC63 #63ECA7 #6363EC #EC63A7
split-complementary
#ECEC63 #63A7EC #A763EC
monochromatic
#BEBE17 #E5E52C #ECEC63 #F3F39A #F9F9D0

Accessibility & contrast

On white

1.25
#ECEC63 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.75
#ECEC63 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEC63
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEC63#FFFFFF#000000##000000
##ECEC631.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE354
Deuteranopia (green-blind)
#FFE86B
Tritanopia (blue-blind)
#FBDECF
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ecec63;
/* rgb */ color: rgb(236, 236, 99);
/* oklch */ color: oklch(91.7% 0.157 109.1);
Tailwind
colors: {
  custom: {
    50: '#f5f194',
    500: '#ecec63',
    950: '#000000',
  },
}
SCSS
$custom: #ecec63;
$custom-light: #f5f194;
$custom-dark: #000000;
JSON
{
  "hex": "#ecec63",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 99
  },
  "hsl": {
    "h": 60,
    "s": 78.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.91748,
    "c": 0.15746,
    "h": 109.1
  },
  "luminance": 0.78725
}

Semantic roles & 50–950 ramp

primary
#ECEC63
secondary
#3737BC
accent
#0BDB0B
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #ECEC63

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

Preview Lab → · Contrast checker → · Palette generator →

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