#ECFB70#ECFB70

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

Color values

HEX#ECFB70
RGBrgb(236, 251, 112)
HSLhsl(66, 95%, 71%)
HSVhsv(66, 55%, 98%)
CMYKcmyk(6%, 0%, 55.4%, 1.6%)
CIE-LABlab(95.16, -23.31, 63.69)
CIE-LCHlch(95.16, 67.83, 110.10°)
OKLaboklab(95.02% -0.068 0.148)
OKLCHoklch(95.02% 0.163 114.7)
XYZxyz(72.0153, 87.9982, 28.5177)
Luminance0.8800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB70 #7F70FB
analogous
#FBC470 #ECFB70 #A6FB70
triadic
#ECFB70 #70ECFB #FB70EC
tetradic
#ECFB70 #70FBC4 #7F70FB #FB70A6
square
#ECFB70 #70FBC4 #7F70FB #FB70A6
split-complementary
#ECFB70 #70A6FB #C470FB
monochromatic
#D1EA07 #E4F934 #ECFB70 #F4FDAC #FBFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFB70#FFFFFF#000000##000000
##ECFB701.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)
#FFF061
Deuteranopia (green-blind)
#FFF278
Tritanopia (blue-blind)
#F9EEDD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfb70;
/* rgb */ color: rgb(236, 251, 112);
/* oklch */ color: oklch(95.0% 0.163 114.7);
Tailwind
colors: {
  custom: {
    50: '#f5fc9d',
    500: '#ecfb70',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb70;
$custom-light: #f5fc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb70",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 112
  },
  "hsl": {
    "h": 66.475,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.95021,
    "c": 0.16292,
    "h": 114.7
  },
  "luminance": 0.87997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECFB70

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

Preview Lab → · Contrast checker → · Palette generator →

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