#ECFB79#ECFB79

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

Color values

HEX#ECFB79
RGBrgb(236, 251, 121)
HSLhsl(67, 94%, 73%)
HSVhsv(67, 52%, 98%)
CMYKcmyk(6%, 0%, 51.8%, 1.6%)
CIE-LABlab(95.25, -22.59, 59.83)
CIE-LCHlch(95.25, 63.95, 110.68°)
OKLaboklab(95.12% -0.0651 0.1406)
OKLCHoklch(95.12% 0.155 114.9)
XYZxyz(72.5417, 88.2087, 31.2900)
Luminance0.8821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB79 #8879FB
analogous
#FBC979 #ECFB79 #ABFB79
triadic
#ECFB79 #79ECFB #FB79EC
tetradic
#ECFB79 #79FBC9 #8879FB #FB79AB
square
#ECFB79 #79FBC9 #8879FB #FB79AB
split-complementary
#ECFB79 #79ABFB #C979FB
monochromatic
#D7F207 #E4F93E #ECFB79 #F4FDB4 #FBFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFB79#FFFFFF#000000##000000
##ECFB791.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)
#FFF06D
Deuteranopia (green-blind)
#FFF380
Tritanopia (blue-blind)
#F9EFDE
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfb79;
/* rgb */ color: rgb(236, 251, 121);
/* oklch */ color: oklch(95.1% 0.155 114.9);
Tailwind
colors: {
  custom: {
    50: '#f4fca3',
    500: '#ecfb79',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb79;
$custom-light: #f4fca3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb79",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 121
  },
  "hsl": {
    "h": 66.923,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.9512,
    "c": 0.15495,
    "h": 114.9
  },
  "luminance": 0.88208
}

Semantic roles & 50–950 ramp

primary
#ECFB79
secondary
#5240D8
accent
#00E61A
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECFB79

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

Preview Lab → · Contrast checker → · Palette generator →

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