#ECFB71#ECFB71

#ECFB71 is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 95.0% C 0.162 H 114.7°. Best body text is #000000 at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#ECFB71
RGBrgb(236, 251, 113)
HSLhsl(67, 95%, 71%)
HSVhsv(67, 55%, 98%)
CMYKcmyk(6%, 0%, 55%, 1.6%)
CIE-LABlab(95.17, -23.24, 63.27)
CIE-LCHlch(95.17, 67.40, 110.17°)
OKLaboklab(95.03% -0.0677 0.1472)
OKLCHoklch(95.03% 0.162 114.7)
XYZxyz(72.0713, 88.0206, 28.8126)
Luminance0.8802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB71 #8071FB
analogous
#FBC571 #ECFB71 #A7FB71
triadic
#ECFB71 #71ECFB #FB71EC
tetradic
#ECFB71 #71FBC5 #8071FB #FB71A7
square
#ECFB71 #71FBC5 #8071FB #FB71A7
split-complementary
#ECFB71 #71A7FB #C571FB
monochromatic
#D2EB07 #E4F935 #ECFB71 #F4FDAD #FBFEE1

Accessibility & contrast

On white

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

On black

18.60
#ECFB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB71
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB71#FFFFFF#000000##000000
##ECFB711.001.1318.6018.60
#FFFFFF1.131.0021.0021.00
#00000018.6021.001.001.00
##00000018.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecfb71;
/* rgb */ color: rgb(236, 251, 113);
/* oklch */ color: oklch(95.0% 0.162 114.7);
Tailwind
colors: {
  custom: {
    50: '#f5fc9e',
    500: '#ecfb71',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb71;
$custom-light: #f5fc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb71",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 113
  },
  "hsl": {
    "h": 66.522,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95032,
    "c": 0.16206,
    "h": 114.7
  },
  "luminance": 0.88019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECFB71

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

Preview Lab → · Contrast checker → · Palette generator →

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