#ECFB96#ECFB96

#ECFB96 is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.5% C 0.126 H 115.8°. Best body text is #000000 at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#ECFB96
RGBrgb(236, 251, 150)
HSLhsl(69, 93%, 79%)
HSVhsv(69, 40%, 98%)
CMYKcmyk(6%, 0%, 40.2%, 1.6%)
CIE-LABlab(95.59, -19.80, 46.69)
CIE-LCHlch(95.59, 50.72, 112.98°)
OKLaboklab(95.51% -0.0548 0.1136)
OKLCHoklch(95.51% 0.126 115.8)
XYZxyz(74.5948, 89.0300, 42.1031)
Luminance0.8903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB96 #A596FB
analogous
#FBD796 #ECFB96 #B9FB96
triadic
#ECFB96 #96ECFB #FB96EC
tetradic
#ECFB96 #96FBD7 #A596FB #FB96B9
square
#ECFB96 #96FBD7 #A596FB #FB96B9
split-complementary
#ECFB96 #96B9FB #D796FB
monochromatic
#D7F720 #E1F95B #ECFB96 #F7FDD1 #FAFEE2

Accessibility & contrast

On white

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

On black

18.81
#ECFB96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB96
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB96#FFFFFF#000000##000000
##ECFB961.001.1218.8118.81
#FFFFFF1.121.0021.0021.00
#00000018.8121.001.001.00
##00000018.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF28E
Deuteranopia (green-blind)
#FFF39B
Tritanopia (blue-blind)
#F6F1E2
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfb96;
/* rgb */ color: rgb(236, 251, 150);
/* oklch */ color: oklch(95.5% 0.126 115.8);
Tailwind
colors: {
  custom: {
    50: '#f3fcb6',
    500: '#ecfb96',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb96;
$custom-light: #f3fcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb96",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 150
  },
  "hsl": {
    "h": 68.911,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.95507,
    "c": 0.12608,
    "h": 115.8
  },
  "luminance": 0.89029
}

Semantic roles & 50–950 ramp

primary
#ECFB96
secondary
#6D59DC
accent
#00E622
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFB96

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

Preview Lab → · Contrast checker → · Palette generator →

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