#ECE96A#ECE96A

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

Color values

HEX#ECE96A
RGBrgb(236, 233, 106)
HSLhsl(59, 77%, 67%)
HSVhsv(59, 55%, 93%)
CMYKcmyk(0%, 1.3%, 55.1%, 7.5%)
CIE-LABlab(90.39, -15.08, 60.92)
CIE-LCHlch(90.39, 62.75, 103.90°)
OKLaboklab(91.2% -0.0453 0.1414)
OKLCHoklch(91.2% 0.149 107.8)
XYZxyz(66.3344, 77.1532, 25.0306)
Luminance0.7715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE96A #6A6DEC
analogous
#ECA86A #ECE96A #AEEC6A
triadic
#ECE96A #6AECE9 #E96AEC
tetradic
#ECE96A #6AECA8 #6A6DEC #EC6AAE
square
#ECE96A #6AECA8 #6A6DEC #EC6AAE
split-complementary
#ECE96A #6AAEEC #A86AEC
monochromatic
#C3BF19 #E5E134 #ECE96A #F3F1A0 #FAF9D7

Accessibility & contrast

On white

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

On black

16.43
#ECE96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE96A
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE96A#FFFFFF#000000##000000
##ECE96A1.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ece96a;
/* rgb */ color: rgb(236, 233, 106);
/* oklch */ color: oklch(91.2% 0.148 107.8);
Tailwind
colors: {
  custom: {
    50: '#f5ef99',
    500: '#ece96a',
    950: '#000000',
  },
}
SCSS
$custom: #ece96a;
$custom-light: #f5ef99;
$custom-dark: #000000;
JSON
{
  "hex": "#ece96a",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 106
  },
  "hsl": {
    "h": 58.615,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.91195,
    "c": 0.1485,
    "h": 107.8
  },
  "luminance": 0.77151
}

Semantic roles & 50–950 ramp

primary
#ECE96A
secondary
#393CC1
accent
#11DA0C
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #ECE96A

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

Preview Lab → · Contrast checker → · Palette generator →

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