#ECF487#ECF487

#ECF487 is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 93.8% C 0.133 H 112.4°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#ECF487
RGBrgb(236, 244, 135)
HSLhsl(64, 83%, 74%)
HSVhsv(64, 45%, 96%)
CMYKcmyk(3.3%, 0%, 44.7%, 4.3%)
CIE-LABlab(93.57, -17.95, 51.36)
CIE-LCHlch(93.57, 54.41, 109.27°)
OKLaboklab(93.83% -0.0507 0.1232)
OKLCHoklch(93.83% 0.133 112.4)
XYZxyz(71.3170, 84.2847, 35.4286)
Luminance0.8428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF487 #8F87F4
analogous
#F4C687 #ECF487 #B6F487
triadic
#ECF487 #87ECF4 #F487EC
tetradic
#ECF487 #87F4C6 #8F87F4 #F487B6
square
#ECF487 #87F4C6 #8F87F4 #F487B6
split-complementary
#ECF487 #87B6F4 #C687F4
monochromatic
#DAEA17 #E3EF4F #ECF487 #F5F9BF #FBFCE3

Accessibility & contrast

On white

1.18
#ECF487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.86
#ECF487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF487
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF487#FFFFFF#000000##000000
##ECF4871.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7E
Deuteranopia (green-blind)
#FFEE8C
Tritanopia (blue-blind)
#F8E9DA
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf487;
/* rgb */ color: rgb(236, 244, 135);
/* oklch */ color: oklch(93.8% 0.133 112.4);
Tailwind
colors: {
  custom: {
    50: '#f4f7ac',
    500: '#ecf487',
    950: '#000000',
  },
}
SCSS
$custom: #ecf487;
$custom-light: #f4f7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf487",
  "rgb": {
    "r": 236,
    "g": 244,
    "b": 135
  },
  "hsl": {
    "h": 64.404,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.93834,
    "c": 0.13319,
    "h": 112.4
  },
  "luminance": 0.84284
}

Semantic roles & 50–950 ramp

primary
#ECF487
secondary
#584FD0
accent
#06E016
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF487

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

Preview Lab → · Contrast checker → · Palette generator →

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