#ECFA56#ECFA56

#ECFA56 is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 94.6% C 0.182 H 114.1°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#ECFA56
RGBrgb(236, 250, 86)
HSLhsl(65, 94%, 66%)
HSVhsv(65, 66%, 98%)
CMYKcmyk(5.6%, 0%, 65.6%, 2%)
CIE-LABlab(94.69, -24.58, 73.73)
CIE-LCHlch(94.69, 77.72, 108.44°)
OKLaboklab(94.57% -0.0741 0.166)
OKLCHoklch(94.57% 0.182 114.1)
XYZxyz(70.4593, 86.8773, 21.8596)
Luminance0.8688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFA56 #6456FA
analogous
#FAB656 #ECFA56 #9AFA56
triadic
#ECFA56 #56ECFA #FA56EC
tetradic
#ECFA56 #56FAB6 #6456FA #FA569A
square
#ECFA56 #56FAB6 #6456FA #FA569A
split-complementary
#ECFA56 #569AFA #B656FA
monochromatic
#BECF06 #E5F81B #ECFA56 #F3FC91 #F9FECD

Accessibility & contrast

On white

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

On black

18.38
#ECFA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFA56
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFA56#FFFFFF#000000##000000
##ECFA561.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE3E
Deuteranopia (green-blind)
#FFF162
Tritanopia (blue-blind)
#FBECD9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecfa56;
/* rgb */ color: rgb(236, 250, 86);
/* oklch */ color: oklch(94.6% 0.182 114.1);
Tailwind
colors: {
  custom: {
    50: '#f6fb8e',
    500: '#ecfa56',
    950: '#000000',
  },
}
SCSS
$custom: #ecfa56;
$custom-light: #f6fb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfa56",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 86
  },
  "hsl": {
    "h": 65.122,
    "s": 94.253,
    "l": 65.882
  },
  "oklch": {
    "l": 0.94574,
    "c": 0.18176,
    "h": 114.1
  },
  "luminance": 0.86876
}

Semantic roles & 50–950 ramp

primary
#ECFA56
secondary
#372ACB
accent
#00E614
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECFA56

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

Preview Lab → · Contrast checker → · Palette generator →

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