#ECF887#ECF887

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

Color values

HEX#ECF887
RGBrgb(236, 248, 135)
HSLhsl(66, 89%, 75%)
HSVhsv(66, 46%, 97%)
CMYKcmyk(4.8%, 0%, 45.6%, 2.7%)
CIE-LABlab(94.62, -19.89, 52.64)
CIE-LCHlch(94.62, 56.27, 110.70°)
OKLaboklab(94.67% -0.0562 0.126)
OKLCHoklch(94.67% 0.138 114)
XYZxyz(72.5336, 86.7180, 35.8342)
Luminance0.8672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF887 #9387F8
analogous
#F8CC87 #ECF887 #B3F887
triadic
#ECF887 #87ECF8 #F887EC
tetradic
#ECF887 #87F8CC #9387F8 #F887B3
square
#ECF887 #87F8CC #9387F8 #F887B3
split-complementary
#ECF887 #87B3F8 #CC87F8
monochromatic
#DAF113 #E3F54D #ECF887 #F5FBC1 #FAFDE2

Accessibility & contrast

On white

1.14
#ECF887 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF887#FFFFFF#000000##000000
##ECF8871.001.1418.3418.34
#FFFFFF1.141.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf887;
/* rgb */ color: rgb(236, 248, 135);
/* oklch */ color: oklch(94.7% 0.138 114.0);
Tailwind
colors: {
  custom: {
    50: '#f4faac',
    500: '#ecf887',
    950: '#000000',
  },
}
SCSS
$custom: #ecf887;
$custom-light: #f4faac;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf887",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 135
  },
  "hsl": {
    "h": 66.372,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.94667,
    "c": 0.13796,
    "h": 114
  },
  "luminance": 0.86717
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECF887

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

Preview Lab → · Contrast checker → · Palette generator →

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