#ECF986#ECF986

#ECF986 is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 94.9% C 0.140 H 114.4°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#ECF986
RGBrgb(236, 249, 134)
HSLhsl(67, 91%, 75%)
HSVhsv(67, 46%, 98%)
CMYKcmyk(5.2%, 0%, 46.2%, 2.4%)
CIE-LABlab(94.87, -20.46, 53.41)
CIE-LCHlch(94.87, 57.20, 110.96°)
OKLaboklab(94.86% -0.0579 0.1276)
OKLCHoklch(94.86% 0.14 114.4)
XYZxyz(72.7718, 87.3065, 35.5679)
Luminance0.8730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF986 #9386F9
analogous
#F9CD86 #ECF986 #B2F986
triadic
#ECF986 #86ECF9 #F986EC
tetradic
#ECF986 #86F9CD #9386F9 #F986B2
square
#ECF986 #86F9CD #9386F9 #F986B2
split-complementary
#ECF986 #86B2F9 #CD86F9
monochromatic
#DAF311 #E3F64C #ECF986 #F5FCC0 #FAFEE2

Accessibility & contrast

On white

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

On black

18.46
#ECF986 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF986
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF986#FFFFFF#000000##000000
##ECF9861.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF7C
Deuteranopia (green-blind)
#FFF18C
Tritanopia (blue-blind)
#F8EEDE
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecf986;
/* rgb */ color: rgb(236, 249, 134);
/* oklch */ color: oklch(94.9% 0.140 114.4);
Tailwind
colors: {
  custom: {
    50: '#f4fbab',
    500: '#ecf986',
    950: '#000000',
  },
}
SCSS
$custom: #ecf986;
$custom-light: #f4fbab;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf986",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 134
  },
  "hsl": {
    "h": 66.783,
    "s": 90.551,
    "l": 75.098
  },
  "oklch": {
    "l": 0.94863,
    "c": 0.14016,
    "h": 114.4
  },
  "luminance": 0.87305
}

Semantic roles & 50–950 ramp

primary
#ECF986
secondary
#5C4CD7
accent
#00E61A
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF986

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

Preview Lab → · Contrast checker → · Palette generator →

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