#ECFB86#ECFB86

#ECFB86 is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.3% C 0.143 H 115.2°. Best body text is #000000 at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#ECFB86
RGBrgb(236, 251, 134)
HSLhsl(68, 94%, 75%)
HSVhsv(68, 47%, 98%)
CMYKcmyk(6%, 0%, 46.6%, 1.6%)
CIE-LABlab(95.39, -21.42, 54.05)
CIE-LCHlch(95.39, 58.14, 111.62°)
OKLaboklab(95.28% -0.0606 0.129)
OKLCHoklch(95.28% 0.143 115.2)
XYZxyz(73.3933, 88.5494, 35.7750)
Luminance0.8855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB86 #9586FB
analogous
#FBCF86 #ECFB86 #B1FB86
triadic
#ECFB86 #86ECFB #FB86EC
tetradic
#ECFB86 #86FBCF #9586FB #FB86B1
square
#ECFB86 #86FBCF #9586FB #FB86B1
split-complementary
#ECFB86 #86B1FB #CF86FB
monochromatic
#D9F710 #E3F94B #ECFB86 #F5FDC1 #FAFEE1

Accessibility & contrast

On white

1.12
#ECFB86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.71
#ECFB86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB86
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB86#FFFFFF#000000##000000
##ECFB861.001.1218.7118.71
#FFFFFF1.121.0021.0021.00
#00000018.7121.001.001.00
##00000018.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF17C
Deuteranopia (green-blind)
#FFF38C
Tritanopia (blue-blind)
#F8F0E0
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfb86;
/* rgb */ color: rgb(236, 251, 134);
/* oklch */ color: oklch(95.3% 0.143 115.2);
Tailwind
colors: {
  custom: {
    50: '#f4fcab',
    500: '#ecfb86',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb86;
$custom-light: #f4fcab;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb86",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 134
  },
  "hsl": {
    "h": 67.692,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.95281,
    "c": 0.14257,
    "h": 115.2
  },
  "luminance": 0.88548
}

Semantic roles & 50–950 ramp

primary
#ECFB86
secondary
#5E4CDA
accent
#00E61D
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECFB86

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

Preview Lab → · Contrast checker → · Palette generator →

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