#ECF586#ECF586

#ECF586 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.0% C 0.135 H 112.8°. Best body text is #000000 at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#ECF586
RGBrgb(236, 245, 134)
HSLhsl(65, 85%, 74%)
HSVhsv(65, 45%, 96%)
CMYKcmyk(3.7%, 0%, 45.3%, 3.9%)
CIE-LABlab(93.82, -18.54, 52.14)
CIE-LCHlch(93.82, 55.33, 109.57°)
OKLaboklab(94.03% -0.0524 0.1248)
OKLCHoklch(94.03% 0.135 112.8)
XYZxyz(71.5486, 84.8601, 35.1602)
Luminance0.8486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF586 #8F86F5
analogous
#F5C786 #ECF586 #B5F586
triadic
#ECF586 #86ECF5 #F586EC
tetradic
#ECF586 #86F5C7 #8F86F5 #F586B5
square
#ECF586 #86F5C7 #8F86F5 #F586B5
split-complementary
#ECF586 #86B5F5 #C786F5
monochromatic
#DAEC15 #E3F04D #ECF586 #F5FABF #FBFDE3

Accessibility & contrast

On white

1.17
#ECF586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.97
#ECF586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF586
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF586#FFFFFF#000000##000000
##ECF5861.001.1717.9717.97
#FFFFFF1.171.0021.0021.00
#00000017.9721.001.001.00
##00000017.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7D
Deuteranopia (green-blind)
#FFEF8C
Tritanopia (blue-blind)
#F8EADB
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf586;
/* rgb */ color: rgb(236, 245, 134);
/* oklch */ color: oklch(94.0% 0.135 112.8);
Tailwind
colors: {
  custom: {
    50: '#f4f8ab',
    500: '#ecf586',
    950: '#000000',
  },
}
SCSS
$custom: #ecf586;
$custom-light: #f4f8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf586",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 134
  },
  "hsl": {
    "h": 64.865,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.94028,
    "c": 0.13538,
    "h": 112.8
  },
  "luminance": 0.84859
}

Semantic roles & 50–950 ramp

primary
#ECF586
secondary
#584ED2
accent
#04E116
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF586

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

Preview Lab → · Contrast checker → · Palette generator →

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