#ECF960#ECF960

#ECF960 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.4% C 0.174 H 113.8°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#ECF960
RGBrgb(236, 249, 96)
HSLhsl(65, 93%, 68%)
HSVhsv(65, 61%, 98%)
CMYKcmyk(5.2%, 0%, 61.4%, 2.4%)
CIE-LABlab(94.50, -23.50, 69.65)
CIE-LCHlch(94.50, 73.51, 108.64°)
OKLaboklab(94.45% -0.0701 0.1588)
OKLCHoklch(94.45% 0.174 113.8)
XYZxyz(70.5808, 86.4301, 24.0286)
Luminance0.8643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF960 #6D60F9
analogous
#F9B960 #ECF960 #9FF960
triadic
#ECF960 #60ECF9 #F960EC
tetradic
#ECF960 #60F9B9 #6D60F9 #F9609F
square
#ECF960 #60F9B9 #6D60F9 #F9609F
split-complementary
#ECF960 #609FF9 #B960F9
monochromatic
#C5D708 #E5F725 #ECF960 #F3FB9B #FAFDD6

Accessibility & contrast

On white

1.15
#ECF960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.29
#ECF960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF960
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF960#FFFFFF#000000##000000
##ECF9601.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE4D
Deuteranopia (green-blind)
#FFF16A
Tritanopia (blue-blind)
#FAEBD9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf960;
/* rgb */ color: rgb(236, 249, 96);
/* oklch */ color: oklch(94.4% 0.174 113.8);
Tailwind
colors: {
  custom: {
    50: '#f5fb93',
    500: '#ecf960',
    950: '#000000',
  },
}
SCSS
$custom: #ecf960;
$custom-light: #f5fb93;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf960",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 96
  },
  "hsl": {
    "h": 65.098,
    "s": 92.727,
    "l": 67.647
  },
  "oklch": {
    "l": 0.94445,
    "c": 0.17356,
    "h": 113.8
  },
  "luminance": 0.86429
}

Semantic roles & 50–950 ramp

primary
#ECF960
secondary
#3A2CD1
accent
#00E613
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF960

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

Preview Lab → · Contrast checker → · Palette generator →

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