#ECFA94#ECFA94

#ECFA94 is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.3% C 0.127 H 115.3°. Best body text is #000000 at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#ECFA94
RGBrgb(236, 250, 148)
HSLhsl(68, 91%, 78%)
HSVhsv(68, 41%, 98%)
CMYKcmyk(5.6%, 0%, 40.8%, 2%)
CIE-LABlab(95.31, -19.53, 47.30)
CIE-LCHlch(95.31, 51.17, 112.44°)
OKLaboklab(95.27% -0.0542 0.1148)
OKLCHoklch(95.27% 0.127 115.3)
XYZxyz(74.1236, 88.3430, 41.1583)
Luminance0.8834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFA94 #A294FA
analogous
#FAD594 #ECFA94 #B9FA94
triadic
#ECFA94 #94ECFA #FA94EC
tetradic
#ECFA94 #94FAD5 #A294FA #FA94B9
square
#ECFA94 #94FAD5 #A294FA #FA94B9
split-complementary
#ECFA94 #94B9FA #D594FA
monochromatic
#D7F51F #E2F75A #ECFA94 #F6FDCE #FAFEE2

Accessibility & contrast

On white

1.12
#ECFA94 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.67
#ECFA94 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFA94
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFA94#FFFFFF#000000##000000
##ECFA941.001.1218.6718.67
#FFFFFF1.121.0021.0021.00
#00000018.6721.001.001.00
##00000018.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18C
Deuteranopia (green-blind)
#FFF299
Tritanopia (blue-blind)
#F7F0E1
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfa94;
/* rgb */ color: rgb(236, 250, 148);
/* oklch */ color: oklch(95.3% 0.127 115.3);
Tailwind
colors: {
  custom: {
    50: '#f3fbb5',
    500: '#ecfa94',
    950: '#000000',
  },
}
SCSS
$custom: #ecfa94;
$custom-light: #f3fbb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfa94",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 148
  },
  "hsl": {
    "h": 68.235,
    "s": 91.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.95269,
    "c": 0.12695,
    "h": 115.3
  },
  "luminance": 0.88342
}

Semantic roles & 50–950 ramp

primary
#ECFA94
secondary
#6A58DA
accent
#00E61F
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFA94

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

Preview Lab → · Contrast checker → · Palette generator →

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