#ECFA58#ECFA58

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

Color values

HEX#ECFA58
RGBrgb(236, 250, 88)
HSLhsl(65, 94%, 66%)
HSVhsv(65, 65%, 98%)
CMYKcmyk(5.6%, 0%, 64.8%, 2%)
CIE-LABlab(94.70, -24.46, 72.99)
CIE-LCHlch(94.70, 76.98, 108.53°)
OKLaboklab(94.59% -0.0736 0.1647)
OKLCHoklch(94.59% 0.18 114.1)
XYZxyz(70.5410, 86.9100, 22.2899)
Luminance0.8691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFA58 #6658FA
analogous
#FAB758 #ECFA58 #9BFA58
triadic
#ECFA58 #58ECFA #FA58EC
tetradic
#ECFA58 #58FAB7 #6658FA #FA589B
square
#ECFA58 #58FAB7 #6658FA #FA589B
split-complementary
#ECFA58 #589BFA #B758FA
monochromatic
#C0D106 #E5F81D #ECFA58 #F3FC93 #FAFECF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFA58#FFFFFF#000000##000000
##ECFA581.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)
#FFEE41
Deuteranopia (green-blind)
#FFF163
Tritanopia (blue-blind)
#FBECD9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecfa58;
/* rgb */ color: rgb(236, 250, 88);
/* oklch */ color: oklch(94.6% 0.180 114.1);
Tailwind
colors: {
  custom: {
    50: '#f5fb8f',
    500: '#ecfa58',
    950: '#000000',
  },
}
SCSS
$custom: #ecfa58;
$custom-light: #f5fb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfa58",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 88
  },
  "hsl": {
    "h": 65.185,
    "s": 94.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.94589,
    "c": 0.1804,
    "h": 114.1
  },
  "luminance": 0.86909
}

Semantic roles & 50–950 ramp

primary
#ECFA58
secondary
#382ACC
accent
#00E614
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECFA58

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

Preview Lab → · Contrast checker → · Palette generator →

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