#ECFB78#ECFB78

#ECFB78 is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.1% C 0.156 H 114.8°. Best body text is #000000 at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#ECFB78
RGBrgb(236, 251, 120)
HSLhsl(67, 94%, 73%)
HSVhsv(67, 52%, 98%)
CMYKcmyk(6%, 0%, 52.2%, 1.6%)
CIE-LABlab(95.24, -22.67, 60.26)
CIE-LCHlch(95.24, 64.39, 110.62°)
OKLaboklab(95.11% -0.0654 0.1415)
OKLCHoklch(95.11% 0.156 114.8)
XYZxyz(72.4807, 88.1843, 30.9687)
Luminance0.8818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB78 #8778FB
analogous
#FBC878 #ECFB78 #ABFB78
triadic
#ECFB78 #78ECFB #FB78EC
tetradic
#ECFB78 #78FBC8 #8778FB #FB78AB
square
#ECFB78 #78FBC8 #8778FB #FB78AB
split-complementary
#ECFB78 #78ABFB #C878FB
monochromatic
#D7F107 #E4F93D #ECFB78 #F4FDB3 #FBFEE1

Accessibility & contrast

On white

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

On black

18.64
#ECFB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB78
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB78#FFFFFF#000000##000000
##ECFB781.001.1318.6418.64
#FFFFFF1.131.0021.0021.00
#00000018.6421.001.001.00
##00000018.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF06B
Deuteranopia (green-blind)
#FFF37F
Tritanopia (blue-blind)
#F9EFDE
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfb78;
/* rgb */ color: rgb(236, 251, 120);
/* oklch */ color: oklch(95.1% 0.156 114.8);
Tailwind
colors: {
  custom: {
    50: '#f4fca2',
    500: '#ecfb78',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb78;
$custom-light: #f4fca2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb78",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 120
  },
  "hsl": {
    "h": 66.87,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.95109,
    "c": 0.15586,
    "h": 114.8
  },
  "luminance": 0.88183
}

Semantic roles & 50–950 ramp

primary
#ECFB78
secondary
#513FD8
accent
#00E61A
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECFB78

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

Preview Lab → · Contrast checker → · Palette generator →

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