#ECFB61#ECFB61

#ECFB61 is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 94.9% C 0.175 H 114.5°. Best body text is #000000 at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#ECFB61
RGBrgb(236, 251, 97)
HSLhsl(66, 95%, 68%)
HSVhsv(66, 61%, 98%)
CMYKcmyk(6%, 0%, 61.4%, 1.6%)
CIE-LABlab(95.03, -24.38, 69.82)
CIE-LCHlch(95.03, 73.95, 109.25°)
OKLaboklab(94.88% -0.0725 0.1593)
OKLCHoklch(94.88% 0.175 114.5)
XYZxyz(71.2486, 87.6915, 24.4798)
Luminance0.8769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB61 #7061FB
analogous
#FBBD61 #ECFB61 #9FFB61
triadic
#ECFB61 #61ECFB #FB61EC
tetradic
#ECFB61 #61FBBD #7061FB #FB619F
square
#ECFB61 #61FBBD #7061FB #FB619F
split-complementary
#ECFB61 #619FFB #BD61FB
monochromatic
#C7DC06 #E5F925 #ECFB61 #F3FD9D #FAFED8

Accessibility & contrast

On white

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

On black

18.54
#ECFB61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB61
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB61#FFFFFF#000000##000000
##ECFB611.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF4E
Deuteranopia (green-blind)
#FFF26B
Tritanopia (blue-blind)
#FAEDDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfb61;
/* rgb */ color: rgb(236, 251, 97);
/* oklch */ color: oklch(94.9% 0.175 114.5);
Tailwind
colors: {
  custom: {
    50: '#f5fc94',
    500: '#ecfb61',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb61;
$custom-light: #f5fc94;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb61",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 97
  },
  "hsl": {
    "h": 65.844,
    "s": 95.062,
    "l": 68.235
  },
  "oklch": {
    "l": 0.94876,
    "c": 0.17499,
    "h": 114.5
  },
  "luminance": 0.8769
}

Semantic roles & 50–950 ramp

primary
#ECFB61
secondary
#3C2CD5
accent
#00E616
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECFB61

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

Preview Lab → · Contrast checker → · Palette generator →

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