#ECF86D#ECF86D

#ECF86D is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.4% C 0.162 H 113.6°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#ECF86D
RGBrgb(236, 248, 109)
HSLhsl(65, 91%, 70%)
HSVhsv(65, 56%, 97%)
CMYKcmyk(4.8%, 0%, 56%, 2.7%)
CIE-LABlab(94.34, -22.11, 64.07)
CIE-LCHlch(94.34, 67.78, 109.04°)
OKLaboklab(94.36% -0.0649 0.1485)
OKLCHoklch(94.36% 0.162 113.6)
XYZxyz(70.9213, 86.0730, 27.3427)
Luminance0.8607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF86D #796DF8
analogous
#F8BF6D #ECF86D #A6F86D
triadic
#ECF86D #6DECF8 #F86DEC
tetradic
#ECF86D #6DF8BF #796DF8 #F86DA6
square
#ECF86D #6DF8BF #796DF8 #F86DA6
split-complementary
#ECF86D #6DA6F8 #BF6DF8
monochromatic
#CDE00B #E4F533 #ECF86D #F4FBA7 #FBFEE2

Accessibility & contrast

On white

1.15
#ECF86D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.21
#ECF86D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF86D
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF86D#FFFFFF#000000##000000
##ECF86D1.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5E
Deuteranopia (green-blind)
#FFF075
Tritanopia (blue-blind)
#FAEBDA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf86d;
/* rgb */ color: rgb(236, 248, 109);
/* oklch */ color: oklch(94.4% 0.162 113.6);
Tailwind
colors: {
  custom: {
    50: '#f5fa9b',
    500: '#ecf86d',
    950: '#000000',
  },
}
SCSS
$custom: #ecf86d;
$custom-light: #f5fa9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf86d",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 109
  },
  "hsl": {
    "h": 65.18,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.94359,
    "c": 0.16208,
    "h": 113.6
  },
  "luminance": 0.86072
}

Semantic roles & 50–950 ramp

primary
#ECF86D
secondary
#4437D2
accent
#00E614
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF86D

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

Preview Lab → · Contrast checker → · Palette generator →

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