#ECFB88#ECFB88

#ECFB88 is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.3% C 0.141 H 115.2°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#ECFB88
RGBrgb(236, 251, 136)
HSLhsl(68, 93%, 76%)
HSVhsv(68, 46%, 98%)
CMYKcmyk(6%, 0%, 45.8%, 1.6%)
CIE-LABlab(95.42, -21.23, 53.14)
CIE-LCHlch(95.42, 57.23, 111.78°)
OKLaboklab(95.31% -0.0599 0.1272)
OKLCHoklch(95.31% 0.141 115.2)
XYZxyz(73.5341, 88.6057, 36.5166)
Luminance0.8861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB88 #9788FB
analogous
#FBD088 #ECFB88 #B2FB88
triadic
#ECFB88 #88ECFB #FB88EC
tetradic
#ECFB88 #88FBD0 #9788FB #FB88B2
square
#ECFB88 #88FBD0 #9788FB #FB88B2
split-complementary
#ECFB88 #88B2FB #D088FB
monochromatic
#D9F712 #E3F94D #ECFB88 #F5FDC3 #FAFEE1

Accessibility & contrast

On white

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

On black

18.72
#ECFB88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB88
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB88#FFFFFF#000000##000000
##ECFB881.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF17E
Deuteranopia (green-blind)
#FFF38E
Tritanopia (blue-blind)
#F8F0E0
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfb88;
/* rgb */ color: rgb(236, 251, 136);
/* oklch */ color: oklch(95.3% 0.141 115.2);
Tailwind
colors: {
  custom: {
    50: '#f4fcad',
    500: '#ecfb88',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb88;
$custom-light: #f4fcad;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb88",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 136
  },
  "hsl": {
    "h": 67.826,
    "s": 93.496,
    "l": 75.882
  },
  "oklch": {
    "l": 0.95308,
    "c": 0.14058,
    "h": 115.2
  },
  "luminance": 0.88605
}

Semantic roles & 50–950 ramp

primary
#ECFB88
secondary
#604DDA
accent
#00E61E
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECFB88

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

Preview Lab → · Contrast checker → · Palette generator →

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