#ECE960#ECE960

#ECE960 is a very light, vivid yellow. Relative luminance 0.770; OKLCH L 91.1% C 0.157 H 108.0°. Best body text is #000000 at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#ECE960
RGBrgb(236, 233, 96)
HSLhsl(59, 79%, 65%)
HSVhsv(59, 59%, 93%)
CMYKcmyk(0%, 1.3%, 59.3%, 7.5%)
CIE-LABlab(90.30, -15.78, 65.13)
CIE-LCHlch(90.30, 67.01, 103.62°)
OKLaboklab(91.1% -0.0484 0.1492)
OKLCHoklch(91.1% 0.157 108)
XYZxyz(65.8444, 76.9571, 22.4498)
Luminance0.7695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE960 #6063EC
analogous
#ECA360 #ECE960 #A9EC60
triadic
#ECE960 #60ECE9 #E960EC
tetradic
#ECE960 #60ECA3 #6063EC #EC60A9
square
#ECE960 #60ECA3 #6063EC #EC60A9
split-complementary
#ECE960 #60A9EC #A360EC
monochromatic
#BBB816 #E5E129 #ECE960 #F3F197 #F9F8CD

Accessibility & contrast

On white

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

On black

16.39
#ECE960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE960
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE960#FFFFFF#000000##000000
##ECE9601.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE050
Deuteranopia (green-blind)
#FDE668
Tritanopia (blue-blind)
#FCDBCC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ece960;
/* rgb */ color: rgb(236, 233, 96);
/* oklch */ color: oklch(91.1% 0.157 108.0);
Tailwind
colors: {
  custom: {
    50: '#f5ef92',
    500: '#ece960',
    950: '#000000',
  },
}
SCSS
$custom: #ece960;
$custom-light: #f5ef92;
$custom-dark: #000000;
JSON
{
  "hex": "#ece960",
  "rgb": {
    "r": 236,
    "g": 233,
    "b": 96
  },
  "hsl": {
    "h": 58.714,
    "s": 78.652,
    "l": 65.098
  },
  "oklch": {
    "l": 0.91095,
    "c": 0.15682,
    "h": 108
  },
  "luminance": 0.76955
}

Semantic roles & 50–950 ramp

primary
#ECE960
secondary
#3639BA
accent
#0FDB0B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #ECE960

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

Preview Lab → · Contrast checker → · Palette generator →

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