#ECE96F#ECE96F

#ECE96F is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.3% C 0.144 H 107.7°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#ECE96F
RGBrgb(236, 233, 111)
HSLhsl(59, 77%, 68%)
HSVhsv(59, 53%, 93%)
CMYKcmyk(0%, 1.3%, 53%, 7.5%)
CIE-LABlab(90.44, -14.69, 58.74)
CIE-LCHlch(90.44, 60.55, 104.04°)
OKLaboklab(91.25% -0.0437 0.1373)
OKLCHoklch(91.25% 0.144 107.7)
XYZxyz(66.6020, 77.2602, 26.4402)
Luminance0.7726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE96F #6F72EC
analogous
#ECAA6F #ECE96F #B0EC6F
triadic
#ECE96F #6FECE9 #E96FEC
tetradic
#ECE96F #6FECAA #6F72EC #EC6FB0
square
#ECE96F #6FECAA #6F72EC #EC6FB0
split-complementary
#ECE96F #6FB0EC #AA6FEC
monochromatic
#C6C21A #E5E139 #ECE96F #F3F1A5 #FAFADB

Accessibility & contrast

On white

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

On black

16.45
#ECE96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE96F
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE96F#FFFFFF#000000##000000
##ECE96F1.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE163
Deuteranopia (green-blind)
#FCE675
Tritanopia (blue-blind)
#FBDCCE
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ece96f;
/* rgb */ color: rgb(236, 233, 111);
/* oklch */ color: oklch(91.3% 0.144 107.7);
Tailwind
colors: {
  custom: {
    50: '#f4ef9c',
    500: '#ece96f',
    950: '#000000',
  },
}
SCSS
$custom: #ece96f;
$custom-light: #f4ef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ece96f",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 111
  },
  "hsl": {
    "h": 58.56,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.91251,
    "c": 0.14407,
    "h": 107.7
  },
  "luminance": 0.77258
}

Semantic roles & 50–950 ramp

primary
#ECE96F
secondary
#3B3EC4
accent
#12D90D
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #ECE96F

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

Preview Lab → · Contrast checker → · Palette generator →

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