#ECF964#ECF964

#ECF964 is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.5% C 0.171 H 113.9°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#ECF964
RGBrgb(236, 249, 100)
HSLhsl(65, 93%, 68%)
HSVhsv(65, 60%, 98%)
CMYKcmyk(5.2%, 0%, 59.8%, 2.4%)
CIE-LABlab(94.53, -23.23, 68.06)
CIE-LCHlch(94.53, 71.92, 108.85°)
OKLaboklab(94.48% -0.069 0.1559)
OKLCHoklch(94.48% 0.171 113.9)
XYZxyz(70.7697, 86.5056, 25.0233)
Luminance0.8650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF964 #7164F9
analogous
#F9BB64 #ECF964 #A1F964
triadic
#ECF964 #64ECF9 #F964EC
tetradic
#ECF964 #64F9BB #7164F9 #F964A1
square
#ECF964 #64F9BB #7164F9 #F964A1
split-complementary
#ECF964 #64A1F9 #BB64F9
monochromatic
#C8DA08 #E5F729 #ECF964 #F3FB9F #FAFEDA

Accessibility & contrast

On white

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

On black

18.30
#ECF964 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF964
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF964#FFFFFF#000000##000000
##ECF9641.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE52
Deuteranopia (green-blind)
#FFF16D
Tritanopia (blue-blind)
#FAECDA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf964;
/* rgb */ color: rgb(236, 249, 100);
/* oklch */ color: oklch(94.5% 0.171 113.9);
Tailwind
colors: {
  custom: {
    50: '#f5fb96',
    500: '#ecf964',
    950: '#000000',
  },
}
SCSS
$custom: #ecf964;
$custom-light: #f5fb96;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf964",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 100
  },
  "hsl": {
    "h": 65.235,
    "s": 92.547,
    "l": 68.431
  },
  "oklch": {
    "l": 0.94481,
    "c": 0.1705,
    "h": 113.9
  },
  "luminance": 0.86504
}

Semantic roles & 50–950 ramp

primary
#ECF964
secondary
#3D2FD2
accent
#00E614
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF964

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

Preview Lab → · Contrast checker → · Palette generator →

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