#ECF187#ECF187

#ECF187 is a very light, vivid yellow. Relative luminance 0.825; OKLCH L 93.2% C 0.130 H 111.0°. Best body text is #000000 at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#ECF187
RGBrgb(236, 241, 135)
HSLhsl(63, 79%, 74%)
HSVhsv(63, 44%, 95%)
CMYKcmyk(2.1%, 0%, 44%, 5.5%)
CIE-LABlab(92.79, -16.49, 50.40)
CIE-LCHlch(92.79, 53.03, 108.12°)
OKLaboklab(93.21% -0.0465 0.121)
OKLCHoklch(93.21% 0.13 111)
XYZxyz(70.4217, 82.4940, 35.1302)
Luminance0.8249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF187 #8C87F1
analogous
#F1C187 #ECF187 #B7F187
triadic
#ECF187 #87ECF1 #F187EC
tetradic
#ECF187 #87F1C1 #8C87F1 #F187B7
square
#ECF187 #87F1C1 #8C87F1 #F187B7
split-complementary
#ECF187 #87B7F1 #C187F1
monochromatic
#DAE31A #E3EB50 #ECF187 #F5F7BE #FBFCE4

Accessibility & contrast

On white

1.20
#ECF187 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.50
#ECF187 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF187
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF187#FFFFFF#000000##000000
##ECF1871.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE97E
Deuteranopia (green-blind)
#FFEC8C
Tritanopia (blue-blind)
#F8E6D8
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf187;
/* rgb */ color: rgb(236, 241, 135);
/* oklch */ color: oklch(93.2% 0.130 111.0);
Tailwind
colors: {
  custom: {
    50: '#f4f5ac',
    500: '#ecf187',
    950: '#000000',
  },
}
SCSS
$custom: #ecf187;
$custom-light: #f4f5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf187",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 135
  },
  "hsl": {
    "h": 62.83,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.93211,
    "c": 0.12966,
    "h": 111
  },
  "luminance": 0.82493
}

Semantic roles & 50–950 ramp

primary
#ECF187
secondary
#5550CD
accent
#0ADB14
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF187

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

Preview Lab → · Contrast checker → · Palette generator →

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