#ECE96E#ECE96E

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

Color values

HEX#ECE96E
RGBrgb(236, 233, 110)
HSLhsl(59, 77%, 68%)
HSVhsv(59, 53%, 93%)
CMYKcmyk(0%, 1.3%, 53.4%, 7.5%)
CIE-LABlab(90.43, -14.77, 59.18)
CIE-LCHlch(90.43, 61.00, 104.01°)
OKLaboklab(91.24% -0.044 0.1381)
OKLCHoklch(91.24% 0.145 107.7)
XYZxyz(66.5473, 77.2383, 26.1518)
Luminance0.7724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE96E #6E71EC
analogous
#ECAA6E #ECE96E #B0EC6E
triadic
#ECE96E #6EECE9 #E96EEC
tetradic
#ECE96E #6EECAA #6E71EC #EC6EB0
square
#ECE96E #6EECAA #6E71EC #EC6EB0
split-complementary
#ECE96E #6EB0EC #AA6EEC
monochromatic
#C6C21A #E5E138 #ECE96E #F3F1A4 #FAF9DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECE96E#FFFFFF#000000##000000
##ECE96E1.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)
#FAE162
Deuteranopia (green-blind)
#FCE674
Tritanopia (blue-blind)
#FBDCCE
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ece96e;
/* rgb */ color: rgb(236, 233, 110);
/* oklch */ color: oklch(91.2% 0.145 107.7);
Tailwind
colors: {
  custom: {
    50: '#f5ef9b',
    500: '#ece96e',
    950: '#000000',
  },
}
SCSS
$custom: #ece96e;
$custom-light: #f5ef9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ece96e",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 110
  },
  "hsl": {
    "h": 58.571,
    "s": 76.829,
    "l": 67.843
  },
  "oklch": {
    "l": 0.91239,
    "c": 0.14497,
    "h": 107.7
  },
  "luminance": 0.77236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECE96E

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

Preview Lab → · Contrast checker → · Palette generator →

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