#ECEC91#ECEC91

#ECEC91 is a very light, moderate yellow. Relative luminance 0.799; OKLCH L 92.3% C 0.113 H 108.4°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#ECEC91
RGBrgb(236, 236, 145)
HSLhsl(60, 71%, 75%)
HSVhsv(60, 39%, 93%)
CMYKcmyk(0%, 0%, 38.6%, 7.5%)
CIE-LABlab(91.63, -13.02, 44.10)
CIE-LCHlch(91.63, 45.98, 106.45°)
OKLaboklab(92.33% -0.0358 0.1074)
OKLCHoklch(92.33% 0.113 108.4)
XYZxyz(69.6993, 79.8695, 38.5273)
Luminance0.7987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEC91 #9191EC
analogous
#ECBF91 #ECEC91 #BFEC91
triadic
#ECEC91 #91ECEC #EC91EC
tetradic
#ECEC91 #91ECBF #9191EC #EC91BF
square
#ECEC91 #91ECBF #9191EC #EC91BF
split-complementary
#ECEC91 #91BFEC #BF91EC
monochromatic
#DADA29 #E3E35D #ECEC91 #F5F5C5 #FAFAE5

Accessibility & contrast

On white

1.24
#ECEC91 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.97
#ECEC91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEC91
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEC91#FFFFFF#000000##000000
##ECEC911.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE58A
Deuteranopia (green-blind)
#FBE995
Tritanopia (blue-blind)
#F8E2D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ecec91;
/* rgb */ color: rgb(236, 236, 145);
/* oklch */ color: oklch(92.3% 0.113 108.4);
Tailwind
colors: {
  custom: {
    50: '#f3f2b2',
    500: '#ecec91',
    950: '#000000',
  },
}
SCSS
$custom: #ecec91;
$custom-light: #f3f2b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecec91",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 145
  },
  "hsl": {
    "h": 60,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.92325,
    "c": 0.11325,
    "h": 108.4
  },
  "luminance": 0.79868
}

Semantic roles & 50–950 ramp

primary
#ECEC91
secondary
#5A5AC7
accent
#13D313
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #ECEC91

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

Preview Lab → · Contrast checker → · Palette generator →

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