#ECF966#ECF966

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

Color values

HEX#ECF966
RGBrgb(236, 249, 102)
HSLhsl(65, 92%, 69%)
HSVhsv(65, 59%, 98%)
CMYKcmyk(5.2%, 0%, 59%, 2.4%)
CIE-LABlab(94.54, -23.09, 67.25)
CIE-LCHlch(94.54, 71.11, 108.95°)
OKLaboklab(94.5% -0.0684 0.1545)
OKLCHoklch(94.5% 0.169 113.9)
XYZxyz(70.8677, 86.5448, 25.5394)
Luminance0.8654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF966 #7366F9
analogous
#F9BD66 #ECF966 #A3F966
triadic
#ECF966 #66ECF9 #F966EC
tetradic
#ECF966 #66F9BD #7366F9 #F966A3
square
#ECF966 #66F9BD #7366F9 #F966A3
split-complementary
#ECF966 #66A3F9 #BD66F9
monochromatic
#C9DC09 #E5F72B #ECF966 #F3FBA1 #FBFEDC

Accessibility & contrast

On white

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

On black

18.31
#ECF966 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF966
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF966#FFFFFF#000000##000000
##ECF9661.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf966;
/* rgb */ color: rgb(236, 249, 102);
/* oklch */ color: oklch(94.5% 0.169 113.9);
Tailwind
colors: {
  custom: {
    50: '#f5fb97',
    500: '#ecf966',
    950: '#000000',
  },
}
SCSS
$custom: #ecf966;
$custom-light: #f5fb97;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf966",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 102
  },
  "hsl": {
    "h": 65.306,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.945,
    "c": 0.16893,
    "h": 113.9
  },
  "luminance": 0.86544
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECF966

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

Preview Lab → · Contrast checker → · Palette generator →

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