#ECF882#ECF882

#ECF882 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.6% C 0.143 H 113.9°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#ECF882
RGBrgb(236, 248, 130)
HSLhsl(66, 89%, 74%)
HSVhsv(66, 48%, 97%)
CMYKcmyk(4.8%, 0%, 47.6%, 2.7%)
CIE-LABlab(94.56, -20.36, 54.90)
CIE-LCHlch(94.56, 58.56, 110.34°)
OKLaboklab(94.6% -0.058 0.1306)
OKLCHoklch(94.6% 0.143 113.9)
XYZxyz(72.1898, 86.5804, 34.0236)
Luminance0.8658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF882 #8E82F8
analogous
#F8C982 #ECF882 #B1F882
triadic
#ECF882 #82ECF8 #F882EC
tetradic
#ECF882 #82F8C9 #8E82F8 #F882B1
square
#ECF882 #82F8C9 #8E82F8 #F882B1
split-complementary
#ECF882 #82B1F8 #C982F8
monochromatic
#DAF20E #E3F548 #ECF882 #F5FBBC #FBFDE2

Accessibility & contrast

On white

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

On black

18.32
#ECF882 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF882
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF882#FFFFFF#000000##000000
##ECF8821.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE78
Deuteranopia (green-blind)
#FFF188
Tritanopia (blue-blind)
#F8ECDD
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf882;
/* rgb */ color: rgb(236, 248, 130);
/* oklch */ color: oklch(94.6% 0.143 113.9);
Tailwind
colors: {
  custom: {
    50: '#f4faa9',
    500: '#ecf882',
    950: '#000000',
  },
}
SCSS
$custom: #ecf882;
$custom-light: #f4faa9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf882",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 130
  },
  "hsl": {
    "h": 66.102,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.94602,
    "c": 0.14291,
    "h": 113.9
  },
  "luminance": 0.86579
}

Semantic roles & 50–950 ramp

primary
#ECF882
secondary
#5749D5
accent
#00E617
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF882

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

Preview Lab → · Contrast checker → · Palette generator →

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