#ECF861#ECF861

#ECF861 is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.2% C 0.172 H 113.5°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#ECF861
RGBrgb(236, 248, 97)
HSLhsl(65, 92%, 68%)
HSVhsv(65, 61%, 97%)
CMYKcmyk(4.8%, 0%, 60.9%, 2.7%)
CIE-LABlab(94.24, -22.96, 68.97)
CIE-LCHlch(94.24, 72.69, 108.41°)
OKLaboklab(94.24% -0.0685 0.1575)
OKLCHoklch(94.24% 0.172 113.5)
XYZxyz(70.3189, 85.8321, 24.1699)
Luminance0.8583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF861 #6D61F8
analogous
#F8B861 #ECF861 #A1F861
triadic
#ECF861 #61ECF8 #F861EC
tetradic
#ECF861 #61F8B8 #6D61F8 #F861A1
square
#ECF861 #61F8B8 #6D61F8 #F861A1
split-complementary
#ECF861 #61A1F8 #B861F8
monochromatic
#C5D509 #E5F526 #ECF861 #F3FB9C #FAFDD6

Accessibility & contrast

On white

1.16
#ECF861 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.17
#ECF861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF861
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF861#FFFFFF#000000##000000
##ECF8611.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED4F
Deuteranopia (green-blind)
#FFF06B
Tritanopia (blue-blind)
#FAEAD8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf861;
/* rgb */ color: rgb(236, 248, 97);
/* oklch */ color: oklch(94.2% 0.172 113.5);
Tailwind
colors: {
  custom: {
    50: '#f5fa94',
    500: '#ecf861',
    950: '#000000',
  },
}
SCSS
$custom: #ecf861;
$custom-light: #f5fa94;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf861",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 97
  },
  "hsl": {
    "h": 64.768,
    "s": 91.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.94243,
    "c": 0.17173,
    "h": 113.5
  },
  "luminance": 0.85831
}

Semantic roles & 50–950 ramp

primary
#ECF861
secondary
#3A2DD0
accent
#00E612
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF861

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

Preview Lab → · Contrast checker → · Palette generator →

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