#ECEC62#ECEC62

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

Color values

HEX#ECEC62
RGBrgb(236, 236, 98)
HSLhsl(60, 78%, 65%)
HSVhsv(60, 58%, 93%)
CMYKcmyk(0%, 0%, 58.5%, 7.5%)
CIE-LABlab(91.10, -17.11, 65.16)
CIE-LCHlch(91.10, 67.37, 104.72°)
OKLaboklab(91.74% -0.0519 0.1495)
OKLCHoklch(91.74% 0.158 109.2)
XYZxyz(66.7941, 78.7074, 23.2264)
Luminance0.7871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEC62 #6262EC
analogous
#ECA762 #ECEC62 #A7EC62
triadic
#ECEC62 #62ECEC #EC62EC
tetradic
#ECEC62 #62ECA7 #6262EC #EC62A7
square
#ECEC62 #62ECA7 #6262EC #EC62A7
split-complementary
#ECEC62 #62A7EC #A762EC
monochromatic
#BDBD17 #E5E52B #ECEC62 #F3F399 #F9F9CF

Accessibility & contrast

On white

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

On black

16.74
#ECEC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEC62
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEC62#FFFFFF#000000##000000
##ECEC621.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecec62;
/* rgb */ color: rgb(236, 236, 98);
/* oklch */ color: oklch(91.7% 0.158 109.2);
Tailwind
colors: {
  custom: {
    50: '#f5f194',
    500: '#ecec62',
    950: '#000000',
  },
}
SCSS
$custom: #ecec62;
$custom-light: #f5f194;
$custom-dark: #000000;
JSON
{
  "hex": "#ecec62",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 98
  },
  "hsl": {
    "h": 60,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.91738,
    "c": 0.15827,
    "h": 109.2
  },
  "luminance": 0.78706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECEC62

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

Preview Lab → · Contrast checker → · Palette generator →

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