#ECFA91#ECFA91

#ECFA91 is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.2% C 0.130 H 115.1°. Best body text is #000000 at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#ECFA91
RGBrgb(236, 250, 145)
HSLhsl(68, 91%, 77%)
HSVhsv(68, 42%, 98%)
CMYKcmyk(5.6%, 0%, 42%, 2%)
CIE-LABlab(95.27, -19.85, 48.69)
CIE-LCHlch(95.27, 52.58, 112.18°)
OKLaboklab(95.22% -0.0553 0.1178)
OKLCHoklch(95.22% 0.13 115.1)
XYZxyz(73.8892, 88.2493, 39.9239)
Luminance0.8825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFA91 #9F91FA
analogous
#FAD391 #ECFA91 #B8FA91
triadic
#ECFA91 #91ECFA #FA91EC
tetradic
#ECFA91 #91FAD3 #9F91FA #FA91B8
square
#ECFA91 #91FAD3 #9F91FA #FA91B8
split-complementary
#ECFA91 #91B8FA #D391FA
monochromatic
#D8F51C #E2F756 #ECFA91 #F6FDCC #FAFEE2

Accessibility & contrast

On white

1.13
#ECFA91 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.65
#ECFA91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFA91
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFA91#FFFFFF#000000##000000
##ECFA911.001.1318.6518.65
#FFFFFF1.131.0021.0021.00
#00000018.6521.001.001.00
##00000018.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF189
Deuteranopia (green-blind)
#FFF296
Tritanopia (blue-blind)
#F7EFE1
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfa91;
/* rgb */ color: rgb(236, 250, 145);
/* oklch */ color: oklch(95.2% 0.130 115.1);
Tailwind
colors: {
  custom: {
    50: '#f3fbb3',
    500: '#ecfa91',
    950: '#000000',
  },
}
SCSS
$custom: #ecfa91;
$custom-light: #f3fbb3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfa91",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 145
  },
  "hsl": {
    "h": 68,
    "s": 91.304,
    "l": 77.451
  },
  "oklch": {
    "l": 0.95224,
    "c": 0.13013,
    "h": 115.1
  },
  "luminance": 0.88248
}

Semantic roles & 50–950 ramp

primary
#ECFA91
secondary
#6756DA
accent
#00E61F
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFA91

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

Preview Lab → · Contrast checker → · Palette generator →

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