#ECF86C#ECF86C

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

Color values

HEX#ECF86C
RGBrgb(236, 248, 108)
HSLhsl(65, 91%, 70%)
HSVhsv(65, 56%, 97%)
CMYKcmyk(4.8%, 0%, 56.5%, 2.7%)
CIE-LABlab(94.33, -22.19, 64.49)
CIE-LCHlch(94.33, 68.20, 108.99°)
OKLaboklab(94.35% -0.0652 0.1493)
OKLCHoklch(94.35% 0.163 113.6)
XYZxyz(70.8678, 86.0516, 27.0608)
Luminance0.8605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF86C #786CF8
analogous
#F8BE6C #ECF86C #A6F86C
triadic
#ECF86C #6CECF8 #F86CEC
tetradic
#ECF86C #6CF8BE #786CF8 #F86CA6
square
#ECF86C #6CF8BE #786CF8 #F86CA6
split-complementary
#ECF86C #6CA6F8 #BE6CF8
monochromatic
#CDDF0B #E4F532 #ECF86C #F4FBA6 #FBFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF86C#FFFFFF#000000##000000
##ECF86C1.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)
#FFED5D
Deuteranopia (green-blind)
#FFF074
Tritanopia (blue-blind)
#FAEBDA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf86c;
/* rgb */ color: rgb(236, 248, 108);
/* oklch */ color: oklch(94.3% 0.163 113.6);
Tailwind
colors: {
  custom: {
    50: '#f5fa9b',
    500: '#ecf86c',
    950: '#000000',
  },
}
SCSS
$custom: #ecf86c;
$custom-light: #f5fa9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf86c",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 108
  },
  "hsl": {
    "h": 65.143,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.94348,
    "c": 0.16292,
    "h": 113.6
  },
  "luminance": 0.8605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECF86C

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

Preview Lab → · Contrast checker → · Palette generator →

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