#ECF96F#ECF96F

#ECF96F is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.6% C 0.162 H 114.0°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#ECF96F
RGBrgb(236, 249, 111)
HSLhsl(66, 92%, 71%)
HSVhsv(66, 55%, 98%)
CMYKcmyk(5.2%, 0%, 55.4%, 2.4%)
CIE-LABlab(94.62, -22.44, 63.52)
CIE-LCHlch(94.62, 67.37, 109.46°)
OKLaboklab(94.59% -0.0657 0.1475)
OKLCHoklch(94.59% 0.162 114)
XYZxyz(71.3385, 86.7331, 28.0190)
Luminance0.8673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF96F #7C6FF9
analogous
#F9C16F #ECF96F #A7F96F
triadic
#ECF96F #6FECF9 #F96FEC
tetradic
#ECF96F #6FF9C1 #7C6FF9 #F96FA7
square
#ECF96F #6FF9C1 #7C6FF9 #F96FA7
split-complementary
#ECF96F #6FA7F9 #C16FF9
monochromatic
#D0E40A #E4F734 #ECF96F #F4FBAA #FBFEE2

Accessibility & contrast

On white

1.14
#ECF96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.35
#ECF96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF96F
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF96F#FFFFFF#000000##000000
##ECF96F1.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE61
Deuteranopia (green-blind)
#FFF177
Tritanopia (blue-blind)
#FAECDB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecf96f;
/* rgb */ color: rgb(236, 249, 111);
/* oklch */ color: oklch(94.6% 0.162 114.0);
Tailwind
colors: {
  custom: {
    50: '#f5fb9d',
    500: '#ecf96f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf96f;
$custom-light: #f5fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf96f",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 111
  },
  "hsl": {
    "h": 65.652,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9459,
    "c": 0.1615,
    "h": 114
  },
  "luminance": 0.86732
}

Semantic roles & 50–950 ramp

primary
#ECF96F
secondary
#4738D4
accent
#00E616
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF96F

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

Preview Lab → · Contrast checker → · Palette generator →

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