#ECF978#ECF978

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

Color values

HEX#ECF978
RGBrgb(236, 249, 120)
HSLhsl(66, 91%, 72%)
HSVhsv(66, 52%, 98%)
CMYKcmyk(5.2%, 0%, 51.8%, 2.4%)
CIE-LABlab(94.71, -21.72, 59.65)
CIE-LCHlch(94.71, 63.48, 110.00°)
OKLaboklab(94.69% -0.0627 0.1401)
OKLCHoklch(94.69% 0.154 114.1)
XYZxyz(71.8592, 86.9414, 30.7615)
Luminance0.8694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF978 #8578F9
analogous
#F9C678 #ECF978 #ABF978
triadic
#ECF978 #78ECF9 #F978EC
tetradic
#ECF978 #78F9C6 #8578F9 #F978AB
square
#ECF978 #78F9C6 #8578F9 #F978AB
split-complementary
#ECF978 #78ABF9 #C678F9
monochromatic
#D5EC0A #E4F63D #ECF978 #F4FCB3 #FBFEE2

Accessibility & contrast

On white

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

On black

18.39
#ECF978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF978
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF978#FFFFFF#000000##000000
##ECF9781.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6C
Deuteranopia (green-blind)
#FFF17F
Tritanopia (blue-blind)
#F9EDDC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecf978;
/* rgb */ color: rgb(236, 249, 120);
/* oklch */ color: oklch(94.7% 0.154 114.1);
Tailwind
colors: {
  custom: {
    50: '#f4fba2',
    500: '#ecf978',
    950: '#000000',
  },
}
SCSS
$custom: #ecf978;
$custom-light: #f4fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf978",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 66.047,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.94689,
    "c": 0.15354,
    "h": 114.1
  },
  "luminance": 0.8694
}

Semantic roles & 50–950 ramp

primary
#ECF978
secondary
#4F40D5
accent
#00E617
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF978

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

Preview Lab → · Contrast checker → · Palette generator →

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