#ECF287#ECF287

#ECF287 is a very light, vivid yellow. Relative luminance 0.831; OKLCH L 93.4% C 0.131 H 111.5°. Best body text is #000000 at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#ECF287
RGBrgb(236, 242, 135)
HSLhsl(63, 80%, 74%)
HSVhsv(63, 44%, 95%)
CMYKcmyk(2.5%, 0%, 44.2%, 5.1%)
CIE-LABlab(93.05, -16.98, 50.72)
CIE-LCHlch(93.05, 53.49, 108.51°)
OKLaboklab(93.42% -0.0479 0.1217)
OKLCHoklch(93.42% 0.131 111.5)
XYZxyz(70.7185, 83.0877, 35.2291)
Luminance0.8309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF287 #8D87F2
analogous
#F2C387 #ECF287 #B7F287
triadic
#ECF287 #87ECF2 #F287EC
tetradic
#ECF287 #87F2C3 #8D87F2 #F287B7
square
#ECF287 #87F2C3 #8D87F2 #F287B7
split-complementary
#ECF287 #87B7F2 #C387F2
monochromatic
#DAE619 #E3EC50 #ECF287 #F5F8BE #FBFCE3

Accessibility & contrast

On white

1.19
#ECF287 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.62
#ECF287 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF287
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF287#FFFFFF#000000##000000
##ECF2871.001.1917.6217.62
#FFFFFF1.191.0021.0021.00
#00000017.6221.001.001.00
##00000017.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE97E
Deuteranopia (green-blind)
#FFED8C
Tritanopia (blue-blind)
#F8E7D9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecf287;
/* rgb */ color: rgb(236, 242, 135);
/* oklch */ color: oklch(93.4% 0.131 111.5);
Tailwind
colors: {
  custom: {
    50: '#f4f6ac',
    500: '#ecf287',
    950: '#000000',
  },
}
SCSS
$custom: #ecf287;
$custom-light: #f4f6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf287",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 135
  },
  "hsl": {
    "h": 63.364,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.93418,
    "c": 0.13082,
    "h": 111.5
  },
  "luminance": 0.83086
}

Semantic roles & 50–950 ramp

primary
#ECF287
secondary
#564FCE
accent
#09DD15
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF287

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

Preview Lab → · Contrast checker → · Palette generator →

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