#ECF88F#ECF88F

#ECF88F is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 94.8% C 0.130 H 114.2°. Best body text is #000000 at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#ECF88F
RGBrgb(236, 248, 143)
HSLhsl(67, 88%, 77%)
HSVhsv(67, 42%, 97%)
CMYKcmyk(4.8%, 0%, 42.3%, 2.7%)
CIE-LABlab(94.72, -19.09, 48.96)
CIE-LCHlch(94.72, 52.55, 111.30°)
OKLaboklab(94.78% -0.0533 0.1183)
OKLCHoklch(94.78% 0.13 114.2)
XYZxyz(73.1182, 86.9518, 38.9128)
Luminance0.8695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF88F #9B8FF8
analogous
#F8D08F #ECF88F #B8F88F
triadic
#ECF88F #8FECF8 #F88FEC
tetradic
#ECF88F #8FF8D0 #9B8FF8 #F88FB8
square
#ECF88F #8FF8D0 #9B8FF8 #F88FB8
split-complementary
#ECF88F #8FB8F8 #D08FF8
monochromatic
#D8F11C #E2F455 #ECF88F #F6FCC9 #FAFDE2

Accessibility & contrast

On white

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

On black

18.39
#ECF88F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF88F
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF88F#FFFFFF#000000##000000
##ECF88F1.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF87
Deuteranopia (green-blind)
#FFF194
Tritanopia (blue-blind)
#F7EDDF
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecf88f;
/* rgb */ color: rgb(236, 248, 143);
/* oklch */ color: oklch(94.8% 0.130 114.2);
Tailwind
colors: {
  custom: {
    50: '#f3fab1',
    500: '#ecf88f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf88f;
$custom-light: #f3fab1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf88f",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 143
  },
  "hsl": {
    "h": 66.857,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.94779,
    "c": 0.12974,
    "h": 114.2
  },
  "luminance": 0.86951
}

Semantic roles & 50–950 ramp

primary
#ECF88F
secondary
#6355D7
accent
#01E51B
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF88F

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

Preview Lab → · Contrast checker → · Palette generator →

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