#ECFB55#ECFB55

#ECFB55 is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 94.8% C 0.183 H 114.4°. Best body text is #000000 at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#ECFB55
RGBrgb(236, 251, 85)
HSLhsl(65, 95%, 66%)
HSVhsv(65, 66%, 98%)
CMYKcmyk(6%, 0%, 66.1%, 1.6%)
CIE-LABlab(94.94, -25.11, 74.36)
CIE-LCHlch(94.94, 78.49, 108.65°)
OKLaboklab(94.78% -0.0757 0.1672)
OKLCHoklch(94.78% 0.183 114.4)
XYZxyz(70.7308, 87.4844, 21.7527)
Luminance0.8748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB55 #6455FB
analogous
#FBB755 #ECFB55 #99FB55
triadic
#ECFB55 #55ECFB #FB55EC
tetradic
#ECFB55 #55FBB7 #6455FB #FB5599
square
#ECFB55 #55FBB7 #6455FB #FB5599
split-complementary
#ECFB55 #5599FB #B755FB
monochromatic
#BED105 #E5FA19 #ECFB55 #F3FC91 #F9FECD

Accessibility & contrast

On white

1.14
#ECFB55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.50
#ECFB55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB55
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB55#FFFFFF#000000##000000
##ECFB551.001.1418.5018.50
#FFFFFF1.141.0021.0021.00
#00000018.5021.001.001.00
##00000018.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF3C
Deuteranopia (green-blind)
#FFF261
Tritanopia (blue-blind)
#FBEDDA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecfb55;
/* rgb */ color: rgb(236, 251, 85);
/* oklch */ color: oklch(94.8% 0.183 114.4);
Tailwind
colors: {
  custom: {
    50: '#f6fc8d',
    500: '#ecfb55',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb55;
$custom-light: #f6fc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb55",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 85
  },
  "hsl": {
    "h": 65.422,
    "s": 95.402,
    "l": 65.882
  },
  "oklch": {
    "l": 0.94778,
    "c": 0.18349,
    "h": 114.4
  },
  "luminance": 0.87483
}

Semantic roles & 50–950 ramp

primary
#ECFB55
secondary
#3729CC
accent
#00E615
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECFB55

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

Preview Lab → · Contrast checker → · Palette generator →

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