#ECF886#ECF886

#ECF886 is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.7% C 0.139 H 114.0°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#ECF886
RGBrgb(236, 248, 134)
HSLhsl(66, 89%, 75%)
HSVhsv(66, 46%, 97%)
CMYKcmyk(4.8%, 0%, 46%, 2.7%)
CIE-LABlab(94.61, -19.98, 53.09)
CIE-LCHlch(94.61, 56.73, 110.63°)
OKLaboklab(94.65% -0.0565 0.1269)
OKLCHoklch(94.65% 0.139 114)
XYZxyz(72.4635, 86.6899, 35.4651)
Luminance0.8669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF886 #9286F8
analogous
#F8CB86 #ECF886 #B3F886
triadic
#ECF886 #86ECF8 #F886EC
tetradic
#ECF886 #86F8CB #9286F8 #F886B3
square
#ECF886 #86F8CB #9286F8 #F886B3
split-complementary
#ECF886 #86B3F8 #CB86F8
monochromatic
#DAF112 #E3F54C #ECF886 #F5FBC0 #FAFDE2

Accessibility & contrast

On white

1.15
#ECF886 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.34
#ECF886 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF886
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF886#FFFFFF#000000##000000
##ECF8861.001.1518.3418.34
#FFFFFF1.151.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7C
Deuteranopia (green-blind)
#FFF18C
Tritanopia (blue-blind)
#F8EDDD
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf886;
/* rgb */ color: rgb(236, 248, 134);
/* oklch */ color: oklch(94.7% 0.139 114.0);
Tailwind
colors: {
  custom: {
    50: '#f4faab',
    500: '#ecf886',
    950: '#000000',
  },
}
SCSS
$custom: #ecf886;
$custom-light: #f4faab;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf886",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 134
  },
  "hsl": {
    "h": 66.316,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.94654,
    "c": 0.13896,
    "h": 114
  },
  "luminance": 0.86689
}

Semantic roles & 50–950 ramp

primary
#ECF886
secondary
#5B4DD6
accent
#00E618
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF886

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

Preview Lab → · Contrast checker → · Palette generator →

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