#ECF984#ECF984

#ECF984 is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 94.8% C 0.142 H 114.4°. Best body text is #000000 at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#ECF984
RGBrgb(236, 249, 132)
HSLhsl(67, 91%, 75%)
HSVhsv(67, 47%, 98%)
CMYKcmyk(5.2%, 0%, 47%, 2.4%)
CIE-LABlab(94.84, -20.65, 54.32)
CIE-LCHlch(94.84, 58.11, 110.82°)
OKLaboklab(94.84% -0.0586 0.1295)
OKLCHoklch(94.84% 0.142 114.4)
XYZxyz(72.6336, 87.2512, 34.8402)
Luminance0.8725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF984 #9184F9
analogous
#F9CC84 #ECF984 #B1F984
triadic
#ECF984 #84ECF9 #F984EC
tetradic
#ECF984 #84F9CC #9184F9 #F984B1
square
#ECF984 #84F9CC #9184F9 #F984B1
split-complementary
#ECF984 #84B1F9 #CC84F9
monochromatic
#DAF30F #E3F64A #ECF984 #F5FCBE #FAFEE2

Accessibility & contrast

On white

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

On black

18.45
#ECF984 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF984
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF984#FFFFFF#000000##000000
##ECF9841.001.1418.4518.45
#FFFFFF1.141.0021.0021.00
#00000018.4521.001.001.00
##00000018.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF7A
Deuteranopia (green-blind)
#FFF18A
Tritanopia (blue-blind)
#F8EDDE
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecf984;
/* rgb */ color: rgb(236, 249, 132);
/* oklch */ color: oklch(94.8% 0.142 114.4);
Tailwind
colors: {
  custom: {
    50: '#f4fbaa',
    500: '#ecf984',
    950: '#000000',
  },
}
SCSS
$custom: #ecf984;
$custom-light: #f4fbaa;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf984",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 132
  },
  "hsl": {
    "h": 66.667,
    "s": 90.698,
    "l": 74.706
  },
  "oklch": {
    "l": 0.94836,
    "c": 0.14214,
    "h": 114.4
  },
  "luminance": 0.8725
}

Semantic roles & 50–950 ramp

primary
#ECF984
secondary
#5A4BD7
accent
#00E61A
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF984

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

Preview Lab → · Contrast checker → · Palette generator →

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