#ECEC53#ECEC53

#ECEC53 is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.6% C 0.169 H 109.3°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#ECEC53
RGBrgb(236, 236, 83)
HSLhsl(60, 80%, 63%)
HSVhsv(60, 65%, 93%)
CMYKcmyk(0%, 0%, 64.8%, 7.5%)
CIE-LABlab(90.98, -18.04, 71.07)
CIE-LCHlch(90.98, 73.33, 104.24°)
OKLaboklab(91.61% -0.0561 0.1599)
OKLCHoklch(91.61% 0.169 109.3)
XYZxyz(66.1510, 78.4502, 19.8397)
Luminance0.7845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEC53 #5353EC
analogous
#EC9F53 #ECEC53 #9FEC53
triadic
#ECEC53 #53ECEC #EC53EC
tetradic
#ECEC53 #53EC9F #5353EC #EC539F
square
#ECEC53 #53EC9F #5353EC #EC539F
split-complementary
#ECEC53 #539FEC #9F53EC
monochromatic
#B1B114 #E6E61C #ECEC53 #F2F28A #F8F8C1

Accessibility & contrast

On white

1.26
#ECEC53 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.69
#ECEC53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEC53
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEC53#FFFFFF#000000##000000
##ECEC531.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE23D
Deuteranopia (green-blind)
#FFE85D
Tritanopia (blue-blind)
#FCDECD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ecec53;
/* rgb */ color: rgb(236, 236, 83);
/* oklch */ color: oklch(91.6% 0.169 109.3);
Tailwind
colors: {
  custom: {
    50: '#f6f18b',
    500: '#ecec53',
    950: '#000000',
  },
}
SCSS
$custom: #ecec53;
$custom-light: #f6f18b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecec53",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 83
  },
  "hsl": {
    "h": 60,
    "s": 80.105,
    "l": 62.549
  },
  "oklch": {
    "l": 0.91607,
    "c": 0.16946,
    "h": 109.3
  },
  "luminance": 0.78448
}

Semantic roles & 50–950 ramp

primary
#ECEC53
secondary
#3232B1
accent
#09DC09
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #ECEC53

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

Preview Lab → · Contrast checker → · Palette generator →

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