#ECFB73#ECFB73

#ECFB73 is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.1% C 0.160 H 114.7°. Best body text is #000000 at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#ECFB73
RGBrgb(236, 251, 115)
HSLhsl(67, 94%, 72%)
HSVhsv(67, 54%, 98%)
CMYKcmyk(6%, 0%, 54.2%, 1.6%)
CIE-LABlab(95.19, -23.08, 62.42)
CIE-LCHlch(95.19, 66.55, 110.29°)
OKLaboklab(95.05% -0.0671 0.1456)
OKLCHoklch(95.05% 0.16 114.7)
XYZxyz(72.1851, 88.0661, 29.4121)
Luminance0.8807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB73 #8273FB
analogous
#FBC673 #ECFB73 #A8FB73
triadic
#ECFB73 #73ECFB #FB73EC
tetradic
#ECFB73 #73FBC6 #8273FB #FB73A8
square
#ECFB73 #73FBC6 #8273FB #FB73A8
split-complementary
#ECFB73 #73A8FB #C673FB
monochromatic
#D3ED07 #E4F938 #ECFB73 #F4FDAF #FBFEE1

Accessibility & contrast

On white

1.13
#ECFB73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.61
#ECFB73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB73
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB73#FFFFFF#000000##000000
##ECFB731.001.1318.6118.61
#FFFFFF1.131.0021.0021.00
#00000018.6121.001.001.00
##00000018.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF065
Deuteranopia (green-blind)
#FFF27B
Tritanopia (blue-blind)
#F9EEDD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfb73;
/* rgb */ color: rgb(236, 251, 115);
/* oklch */ color: oklch(95.1% 0.160 114.7);
Tailwind
colors: {
  custom: {
    50: '#f4fc9f',
    500: '#ecfb73',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb73;
$custom-light: #f4fc9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb73",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 115
  },
  "hsl": {
    "h": 66.618,
    "s": 94.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95053,
    "c": 0.16032,
    "h": 114.7
  },
  "luminance": 0.88065
}

Semantic roles & 50–950 ramp

primary
#ECFB73
secondary
#4C3BD7
accent
#00E619
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECFB73

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

Preview Lab → · Contrast checker → · Palette generator →

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