#ECFB91#ECFB91

#ECFB91 is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.4% C 0.131 H 115.5°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#ECFB91
RGBrgb(236, 251, 145)
HSLhsl(68, 93%, 78%)
HSVhsv(68, 42%, 98%)
CMYKcmyk(6%, 0%, 42.2%, 1.6%)
CIE-LABlab(95.53, -20.33, 49.02)
CIE-LCHlch(95.53, 53.06, 112.53°)
OKLaboklab(95.43% -0.0566 0.1185)
OKLCHoklch(95.43% 0.131 115.5)
XYZxyz(74.2007, 88.8724, 40.0278)
Luminance0.8887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB91 #A091FB
analogous
#FBD591 #ECFB91 #B7FB91
triadic
#ECFB91 #91ECFB #FB91EC
tetradic
#ECFB91 #91FBD5 #A091FB #FB91B7
square
#ECFB91 #91FBD5 #A091FB #FB91B7
split-complementary
#ECFB91 #91B7FB #D591FB
monochromatic
#D8F71B #E2F956 #ECFB91 #F6FDCC #FAFEE1

Accessibility & contrast

On white

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

On black

18.77
#ECFB91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB91
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB91#FFFFFF#000000##000000
##ECFB911.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF189
Deuteranopia (green-blind)
#FFF396
Tritanopia (blue-blind)
#F7F0E2
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfb91;
/* rgb */ color: rgb(236, 251, 145);
/* oklch */ color: oklch(95.4% 0.131 115.5);
Tailwind
colors: {
  custom: {
    50: '#f3fcb3',
    500: '#ecfb91',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb91;
$custom-light: #f3fcb3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb91",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 145
  },
  "hsl": {
    "h": 68.491,
    "s": 92.982,
    "l": 77.647
  },
  "oklch": {
    "l": 0.95433,
    "c": 0.13137,
    "h": 115.5
  },
  "luminance": 0.88872
}

Semantic roles & 50–950 ramp

primary
#ECFB91
secondary
#6855DB
accent
#00E620
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFB91

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

Preview Lab → · Contrast checker → · Palette generator →

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