#ECEC71#ECEC71

#ECEC71 is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 91.9% C 0.145 H 108.9°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#ECEC71
RGBrgb(236, 236, 113)
HSLhsl(60, 76%, 68%)
HSVhsv(60, 52%, 93%)
CMYKcmyk(0%, 0%, 52.1%, 7.5%)
CIE-LABlab(91.24, -16.00, 58.77)
CIE-LCHlch(91.24, 60.91, 105.23°)
OKLaboklab(91.9% -0.0472 0.1375)
OKLCHoklch(91.9% 0.145 108.9)
XYZxyz(67.5699, 79.0177, 27.3121)
Luminance0.7902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEC71 #7171EC
analogous
#ECAE71 #ECEC71 #AEEC71
triadic
#ECEC71 #71ECEC #EC71EC
tetradic
#ECEC71 #71ECAE #7171EC #EC71AE
square
#ECEC71 #71ECAE #7171EC #EC71AE
split-complementary
#ECEC71 #71AEEC #AE71EC
monochromatic
#C8C81B #E5E53B #ECEC71 #F3F3A7 #FAFADD

Accessibility & contrast

On white

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

On black

16.80
#ECEC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEC71
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEC71#FFFFFF#000000##000000
##ECEC711.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE365
Deuteranopia (green-blind)
#FEE877
Tritanopia (blue-blind)
#FADFD0
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ecec71;
/* rgb */ color: rgb(236, 236, 113);
/* oklch */ color: oklch(91.9% 0.145 108.9);
Tailwind
colors: {
  custom: {
    50: '#f4f29d',
    500: '#ecec71',
    950: '#000000',
  },
}
SCSS
$custom: #ecec71;
$custom-light: #f4f29d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecec71",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 113
  },
  "hsl": {
    "h": 60,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.91895,
    "c": 0.14542,
    "h": 108.9
  },
  "luminance": 0.79016
}

Semantic roles & 50–950 ramp

primary
#ECEC71
secondary
#3D3DC4
accent
#0DD90D
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #ECEC71

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

Preview Lab → · Contrast checker → · Palette generator →

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