#ECF556#ECF556

#ECF556 is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.5% C 0.177 H 112.5°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#ECF556
RGBrgb(236, 245, 86)
HSLhsl(63, 89%, 65%)
HSVhsv(63, 65%, 96%)
CMYKcmyk(3.7%, 0%, 64.9%, 3.9%)
CIE-LABlab(93.37, -22.20, 72.38)
CIE-LCHlch(93.37, 75.71, 107.05°)
OKLaboklab(93.52% -0.0675 0.1631)
OKLCHoklch(93.52% 0.177 112.5)
XYZxyz(68.9262, 83.8111, 21.3486)
Luminance0.8381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF556 #5F56F5
analogous
#F5AE56 #ECF556 #9DF556
triadic
#ECF556 #56ECF5 #F556EC
tetradic
#ECF556 #56F5AE #5F56F5 #F5569D
square
#ECF556 #56F5AE #5F56F5 #F5569D
split-complementary
#ECF556 #569DF5 #AE56F5
monochromatic
#BAC50C #E6F21C #ECF556 #F2F890 #F9FCCA

Accessibility & contrast

On white

1.18
#ECF556 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.76
#ECF556 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF556
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF556#FFFFFF#000000##000000
##ECF5561.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA40
Deuteranopia (green-blind)
#FFEE61
Tritanopia (blue-blind)
#FBE7D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf556;
/* rgb */ color: rgb(236, 245, 86);
/* oklch */ color: oklch(93.5% 0.177 112.5);
Tailwind
colors: {
  custom: {
    50: '#f5f88d',
    500: '#ecf556',
    950: '#000000',
  },
}
SCSS
$custom: #ecf556;
$custom-light: #f5f88d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf556",
  "rgb": {
    "r": 236,
    "g": 245,
    "b": 86
  },
  "hsl": {
    "h": 63.396,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.93519,
    "c": 0.17651,
    "h": 112.5
  },
  "luminance": 0.8381
}

Semantic roles & 50–950 ramp

primary
#ECF556
secondary
#362DC2
accent
#00E50D
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECF556

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

Preview Lab → · Contrast checker → · Palette generator →

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