#ECE96C#ECE96C

#ECE96C is a very light, vivid yellow. Relative luminance 0.772; OKLCH L 91.2% C 0.147 H 107.7°. Best body text is #000000 at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#ECE96C
RGBrgb(236, 233, 108)
HSLhsl(59, 77%, 67%)
HSVhsv(59, 54%, 93%)
CMYKcmyk(0%, 1.3%, 54.2%, 7.5%)
CIE-LABlab(90.41, -14.93, 60.05)
CIE-LCHlch(90.41, 61.88, 103.96°)
OKLaboklab(91.22% -0.0447 0.1398)
OKLCHoklch(91.22% 0.147 107.7)
XYZxyz(66.4396, 77.1952, 25.5848)
Luminance0.7719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE96C #6C6FEC
analogous
#ECA96C #ECE96C #AFEC6C
triadic
#ECE96C #6CECE9 #E96CEC
tetradic
#ECE96C #6CECA9 #6C6FEC #EC6CAF
square
#ECE96C #6CECA9 #6C6FEC #EC6CAF
split-complementary
#ECE96C #6CAFEC #A96CEC
monochromatic
#C4C019 #E5E136 #ECE96C #F3F1A2 #FAF9D8

Accessibility & contrast

On white

1.28
#ECE96C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.44
#ECE96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE96C
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE96C#FFFFFF#000000##000000
##ECE96C1.001.2816.4416.44
#FFFFFF1.281.0021.0021.00
#00000016.4421.001.001.00
##00000016.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE15F
Deuteranopia (green-blind)
#FCE673
Tritanopia (blue-blind)
#FBDCCD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ece96c;
/* rgb */ color: rgb(236, 233, 108);
/* oklch */ color: oklch(91.2% 0.147 107.7);
Tailwind
colors: {
  custom: {
    50: '#f5ef9a',
    500: '#ece96c',
    950: '#000000',
  },
}
SCSS
$custom: #ece96c;
$custom-light: #f5ef9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ece96c",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 108
  },
  "hsl": {
    "h": 58.594,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.91217,
    "c": 0.14675,
    "h": 107.7
  },
  "luminance": 0.77193
}

Semantic roles & 50–950 ramp

primary
#ECE96C
secondary
#3A3DC2
accent
#11D90C
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #ECE96C

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

Preview Lab → · Contrast checker → · Palette generator →

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