#ECF976#ECF976

#ECF976 is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 94.7% C 0.155 H 114.1°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#ECF976
RGBrgb(236, 249, 118)
HSLhsl(66, 92%, 72%)
HSVhsv(66, 53%, 98%)
CMYKcmyk(5.2%, 0%, 52.6%, 2.4%)
CIE-LABlab(94.69, -21.88, 60.52)
CIE-LCHlch(94.69, 64.36, 109.88°)
OKLaboklab(94.67% -0.0634 0.1418)
OKLCHoklch(94.67% 0.155 114.1)
XYZxyz(71.7391, 86.8934, 30.1290)
Luminance0.8689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF976 #8376F9
analogous
#F9C476 #ECF976 #ABF976
triadic
#ECF976 #76ECF9 #F976EC
tetradic
#ECF976 #76F9C4 #8376F9 #F976AB
square
#ECF976 #76F9C4 #8376F9 #F976AB
split-complementary
#ECF976 #76ABF9 #C476F9
monochromatic
#D4EA0A #E4F63B #ECF976 #F4FCB1 #FBFEE2

Accessibility & contrast

On white

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

On black

18.38
#ECF976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF976
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF976#FFFFFF#000000##000000
##ECF9761.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE69
Deuteranopia (green-blind)
#FFF17D
Tritanopia (blue-blind)
#F9ECDC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecf976;
/* rgb */ color: rgb(236, 249, 118);
/* oklch */ color: oklch(94.7% 0.155 114.1);
Tailwind
colors: {
  custom: {
    50: '#f4fba1',
    500: '#ecf976',
    950: '#000000',
  },
}
SCSS
$custom: #ecf976;
$custom-light: #f4fba1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf976",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 118
  },
  "hsl": {
    "h": 65.954,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94666,
    "c": 0.15535,
    "h": 114.1
  },
  "luminance": 0.86892
}

Semantic roles & 50–950 ramp

primary
#ECF976
secondary
#4D3ED5
accent
#00E617
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF976

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

Preview Lab → · Contrast checker → · Palette generator →

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