#ECF87F#ECF87F

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

Color values

HEX#ECF87F
RGBrgb(236, 248, 127)
HSLhsl(66, 90%, 74%)
HSVhsv(66, 49%, 97%)
CMYKcmyk(4.8%, 0%, 48.8%, 2.7%)
CIE-LABlab(94.53, -20.63, 56.25)
CIE-LCHlch(94.53, 59.91, 110.14°)
OKLaboklab(94.56% -0.059 0.1333)
OKLCHoklch(94.56% 0.146 113.9)
XYZxyz(71.9914, 86.5011, 32.9785)
Luminance0.8650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF87F #8B7FF8
analogous
#F8C77F #ECF87F #AFF87F
triadic
#ECF87F #7FECF8 #F87FEC
tetradic
#ECF87F #7FF8C7 #8B7FF8 #F87FAF
square
#ECF87F #7FF8C7 #8B7FF8 #F87FAF
split-complementary
#ECF87F #7FAFF8 #C77FF8
monochromatic
#D9F00D #E3F545 #ECF87F #F5FBB9 #FBFDE2

Accessibility & contrast

On white

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

On black

18.30
#ECF87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF87F
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF87F#FFFFFF#000000##000000
##ECF87F1.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE74
Deuteranopia (green-blind)
#FFF185
Tritanopia (blue-blind)
#F9ECDC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf87f;
/* rgb */ color: rgb(236, 248, 127);
/* oklch */ color: oklch(94.6% 0.146 113.9);
Tailwind
colors: {
  custom: {
    50: '#f4faa7',
    500: '#ecf87f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf87f;
$custom-light: #f4faa7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf87f",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 65.95,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.94564,
    "c": 0.14581,
    "h": 113.9
  },
  "luminance": 0.865
}

Semantic roles & 50–950 ramp

primary
#ECF87F
secondary
#5546D5
accent
#00E617
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171710
muted
#858580

Preview Lab

Preview with #ECF87F

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

Preview Lab → · Contrast checker → · Palette generator →

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