#ECFA86#ECFA86

#ECFA86 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.1% C 0.141 H 114.8°. Best body text is #000000 at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#ECFA86
RGBrgb(236, 250, 134)
HSLhsl(67, 92%, 75%)
HSVhsv(67, 46%, 98%)
CMYKcmyk(5.6%, 0%, 46.4%, 2%)
CIE-LABlab(95.13, -20.94, 53.73)
CIE-LCHlch(95.13, 57.67, 111.30°)
OKLaboklab(95.07% -0.0593 0.1283)
OKLCHoklch(95.07% 0.141 114.8)
XYZxyz(73.0817, 87.9263, 35.6712)
Luminance0.8792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFA86 #9486FA
analogous
#FACE86 #ECFA86 #B2FA86
triadic
#ECFA86 #86ECFA #FA86EC
tetradic
#ECFA86 #86FACE #9486FA #FA86B2
square
#ECFA86 #86FACE #9486FA #FA86B2
split-complementary
#ECFA86 #86B2FA #CE86FA
monochromatic
#DAF510 #E3F84B #ECFA86 #F5FCC1 #FAFEE2

Accessibility & contrast

On white

1.13
#ECFA86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.59
#ECFA86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFA86
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFA86#FFFFFF#000000##000000
##ECFA861.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF07C
Deuteranopia (green-blind)
#FFF28C
Tritanopia (blue-blind)
#F8EFDF
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfa86;
/* rgb */ color: rgb(236, 250, 134);
/* oklch */ color: oklch(95.1% 0.141 114.8);
Tailwind
colors: {
  custom: {
    50: '#f4fbab',
    500: '#ecfa86',
    950: '#000000',
  },
}
SCSS
$custom: #ecfa86;
$custom-light: #f4fbab;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfa86",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 134
  },
  "hsl": {
    "h": 67.241,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.95072,
    "c": 0.14136,
    "h": 114.8
  },
  "luminance": 0.87925
}

Semantic roles & 50–950 ramp

primary
#ECFA86
secondary
#5D4CD8
accent
#00E61C
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECFA86

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

Preview Lab → · Contrast checker → · Palette generator →

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