#ECFB60#ECFB60

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

Color values

HEX#ECFB60
RGBrgb(236, 251, 96)
HSLhsl(66, 95%, 68%)
HSVhsv(66, 62%, 98%)
CMYKcmyk(6%, 0%, 61.8%, 1.6%)
CIE-LABlab(95.02, -24.44, 70.21)
CIE-LCHlch(95.02, 74.35, 109.20°)
OKLaboklab(94.87% -0.0728 0.16)
OKLCHoklch(94.87% 0.176 114.5)
XYZxyz(71.2023, 87.6730, 24.2358)
Luminance0.8767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB60 #6F60FB
analogous
#FBBC60 #ECFB60 #9FFB60
triadic
#ECFB60 #60ECFB #FB60EC
tetradic
#ECFB60 #60FBBC #6F60FB #FB609F
square
#ECFB60 #60FBBC #6F60FB #FB609F
split-complementary
#ECFB60 #609FFB #BC60FB
monochromatic
#C6DB06 #E5F924 #ECFB60 #F3FD9C #FAFED7

Accessibility & contrast

On white

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

On black

18.53
#ECFB60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB60
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB60#FFFFFF#000000##000000
##ECFB601.001.1318.5318.53
#FFFFFF1.131.0021.0021.00
#00000018.5321.001.001.00
##00000018.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecfb60;
/* rgb */ color: rgb(236, 251, 96);
/* oklch */ color: oklch(94.9% 0.176 114.5);
Tailwind
colors: {
  custom: {
    50: '#f5fc94',
    500: '#ecfb60',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb60;
$custom-light: #f5fc94;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb60",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 96
  },
  "hsl": {
    "h": 65.806,
    "s": 95.092,
    "l": 68.039
  },
  "oklch": {
    "l": 0.94867,
    "c": 0.17573,
    "h": 114.5
  },
  "luminance": 0.87672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECFB60

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

Preview Lab → · Contrast checker → · Palette generator →

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