#ECF186#ECF186

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

Color values

HEX#ECF186
RGBrgb(236, 241, 134)
HSLhsl(63, 79%, 74%)
HSVhsv(63, 44%, 95%)
CMYKcmyk(2.1%, 0%, 44.4%, 5.5%)
CIE-LABlab(92.78, -16.59, 50.86)
CIE-LCHlch(92.78, 53.50, 108.07°)
OKLaboklab(93.2% -0.0469 0.122)
OKLCHoklch(93.2% 0.131 111)
XYZxyz(70.3516, 82.4660, 34.7611)
Luminance0.8246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF186 #8B86F1
analogous
#F1C086 #ECF186 #B6F186
triadic
#ECF186 #86ECF1 #F186EC
tetradic
#ECF186 #86F1C0 #8B86F1 #F186B6
square
#ECF186 #86F1C0 #8B86F1 #F186B6
split-complementary
#ECF186 #86B6F1 #C086F1
monochromatic
#D9E21A #E3EB4F #ECF186 #F5F7BD #FBFCE4

Accessibility & contrast

On white

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

On black

17.49
#ECF186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF186
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF186#FFFFFF#000000##000000
##ECF1861.001.2017.4917.49
#FFFFFF1.201.0021.0021.00
#00000017.4921.001.001.00
##00000017.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE97D
Deuteranopia (green-blind)
#FFEC8B
Tritanopia (blue-blind)
#F9E6D8
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf186;
/* rgb */ color: rgb(236, 241, 134);
/* oklch */ color: oklch(93.2% 0.131 111.0);
Tailwind
colors: {
  custom: {
    50: '#f4f5ab',
    500: '#ecf186',
    950: '#000000',
  },
}
SCSS
$custom: #ecf186;
$custom-light: #f4f5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf186",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 134
  },
  "hsl": {
    "h": 62.804,
    "s": 79.259,
    "l": 73.529
  },
  "oklch": {
    "l": 0.93197,
    "c": 0.13069,
    "h": 111
  },
  "luminance": 0.82465
}

Semantic roles & 50–950 ramp

primary
#ECF186
secondary
#554FCD
accent
#0ADC14
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF186

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

Preview Lab → · Contrast checker → · Palette generator →

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