#ECF888#ECF888

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

Color values

HEX#ECF888
RGBrgb(236, 248, 136)
HSLhsl(66, 89%, 75%)
HSVhsv(66, 45%, 97%)
CMYKcmyk(4.8%, 0%, 45.2%, 2.7%)
CIE-LABlab(94.63, -19.79, 52.18)
CIE-LCHlch(94.63, 55.81, 110.77°)
OKLaboklab(94.68% -0.0558 0.1251)
OKLCHoklch(94.68% 0.137 114.1)
XYZxyz(72.6044, 86.7463, 36.2067)
Luminance0.8675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF888 #9488F8
analogous
#F8CC88 #ECF888 #B4F888
triadic
#ECF888 #88ECF8 #F888EC
tetradic
#ECF888 #88F8CC #9488F8 #F888B4
square
#ECF888 #88F8CC #9488F8 #F888B4
split-complementary
#ECF888 #88B4F8 #CC88F8
monochromatic
#DAF114 #E3F54E #ECF888 #F5FBC2 #FAFDE2

Accessibility & contrast

On white

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

On black

18.35
#ECF888 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF888
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF888#FFFFFF#000000##000000
##ECF8881.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7F
Deuteranopia (green-blind)
#FFF18E
Tritanopia (blue-blind)
#F8EDDE
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecf888;
/* rgb */ color: rgb(236, 248, 136);
/* oklch */ color: oklch(94.7% 0.137 114.1);
Tailwind
colors: {
  custom: {
    50: '#f4faad',
    500: '#ecf888',
    950: '#000000',
  },
}
SCSS
$custom: #ecf888;
$custom-light: #f4faad;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf888",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 136
  },
  "hsl": {
    "h": 66.429,
    "s": 88.889,
    "l": 75.294
  },
  "oklch": {
    "l": 0.94681,
    "c": 0.13695,
    "h": 114.1
  },
  "luminance": 0.86745
}

Semantic roles & 50–950 ramp

primary
#ECF888
secondary
#5D4ED6
accent
#00E619
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF888

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

Preview Lab → · Contrast checker → · Palette generator →

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