#ECFB56#ECFB56

#ECFB56 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#ECFB56
RGBrgb(236, 251, 86)
HSLhsl(65, 95%, 66%)
HSVhsv(65, 66%, 98%)
CMYKcmyk(6%, 0%, 65.7%, 1.6%)
CIE-LABlab(94.95, -25.05, 74.00)
CIE-LCHlch(94.95, 78.12, 108.70°)
OKLaboklab(94.79% -0.0754 0.1665)
OKLCHoklch(94.79% 0.183 114.4)
XYZxyz(70.7708, 87.5004, 21.9634)
Luminance0.8750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB56 #6556FB
analogous
#FBB856 #ECFB56 #99FB56
triadic
#ECFB56 #56ECFB #FB56EC
tetradic
#ECFB56 #56FBB8 #6556FB #FB5699
square
#ECFB56 #56FBB8 #6556FB #FB5699
split-complementary
#ECFB56 #5699FB #B856FB
monochromatic
#BFD205 #E5FA1A #ECFB56 #F3FC92 #F9FECE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFB56#FFFFFF#000000##000000
##ECFB561.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)
#FFEF3E
Deuteranopia (green-blind)
#FFF262
Tritanopia (blue-blind)
#FBEDDA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecfb56;
/* rgb */ color: rgb(236, 251, 86);
/* oklch */ color: oklch(94.8% 0.183 114.4);
Tailwind
colors: {
  custom: {
    50: '#f6fc8e',
    500: '#ecfb56',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb56;
$custom-light: #f6fc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb56",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 86
  },
  "hsl": {
    "h": 65.455,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.94785,
    "c": 0.18282,
    "h": 114.4
  },
  "luminance": 0.87499
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECFB56

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

Preview Lab → · Contrast checker → · Palette generator →

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