#ECEC74#ECEC74

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

Color values

HEX#ECEC74
RGBrgb(236, 236, 116)
HSLhsl(60, 76%, 69%)
HSVhsv(60, 51%, 93%)
CMYKcmyk(0%, 0%, 50.8%, 7.5%)
CIE-LABlab(91.27, -15.76, 57.44)
CIE-LCHlch(91.27, 59.57, 105.34°)
OKLaboklab(91.93% -0.0462 0.135)
OKLCHoklch(91.93% 0.143 108.9)
XYZxyz(67.7415, 79.0864, 28.2164)
Luminance0.7909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEC74 #7474EC
analogous
#ECB074 #ECEC74 #B0EC74
triadic
#ECEC74 #74ECEC #EC74EC
tetradic
#ECEC74 #74ECB0 #7474EC #EC74B0
square
#ECEC74 #74ECB0 #7474EC #EC74B0
split-complementary
#ECEC74 #74B0EC #B074EC
monochromatic
#CACA1C #E5E53E #ECEC74 #F3F3AA #FBFBE0

Accessibility & contrast

On white

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

On black

16.82
#ECEC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEC74
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEC74#FFFFFF#000000##000000
##ECEC741.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE469
Deuteranopia (green-blind)
#FEE87A
Tritanopia (blue-blind)
#FADFD1
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ecec74;
/* rgb */ color: rgb(236, 236, 116);
/* oklch */ color: oklch(91.9% 0.143 108.9);
Tailwind
colors: {
  custom: {
    50: '#f4f29f',
    500: '#ecec74',
    950: '#000000',
  },
}
SCSS
$custom: #ecec74;
$custom-light: #f4f29f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecec74",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 116
  },
  "hsl": {
    "h": 60,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.9193,
    "c": 0.14267,
    "h": 108.9
  },
  "luminance": 0.79085
}

Semantic roles & 50–950 ramp

primary
#ECEC74
secondary
#4040C5
accent
#0DD80D
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #ECEC74

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

Preview Lab → · Contrast checker → · Palette generator →

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