#ECFB7A#ECFB7A

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

Color values

HEX#ECFB7A
RGBrgb(236, 251, 122)
HSLhsl(67, 94%, 73%)
HSVhsv(67, 51%, 98%)
CMYKcmyk(6%, 0%, 51.4%, 1.6%)
CIE-LABlab(95.26, -22.50, 59.39)
CIE-LCHlch(95.26, 63.51, 110.75°)
OKLaboklab(95.13% -0.0648 0.1398)
OKLCHoklch(95.13% 0.154 114.9)
XYZxyz(72.6033, 88.2334, 31.6146)
Luminance0.8823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB7A #897AFB
analogous
#FBCA7A #ECFB7A #ABFB7A
triadic
#ECFB7A #7AECFB #FB7AEC
tetradic
#ECFB7A #7AFBCA #897AFB #FB7AAB
square
#ECFB7A #7AFBCA #897AFB #FB7AAB
split-complementary
#ECFB7A #7AABFB #CA7AFB
monochromatic
#D8F307 #E4F93F #ECFB7A #F4FDB5 #FBFEE1

Accessibility & contrast

On white

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

On black

18.65
#ECFB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB7A
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB7A#FFFFFF#000000##000000
##ECFB7A1.001.1318.6518.65
#FFFFFF1.131.0021.0021.00
#00000018.6521.001.001.00
##00000018.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecfb7a;
/* rgb */ color: rgb(236, 251, 122);
/* oklch */ color: oklch(95.1% 0.154 114.9);
Tailwind
colors: {
  custom: {
    50: '#f4fca4',
    500: '#ecfb7a',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb7a;
$custom-light: #f4fca4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb7a",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 122
  },
  "hsl": {
    "h": 66.977,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.95132,
    "c": 0.15404,
    "h": 114.9
  },
  "luminance": 0.88232
}

Semantic roles & 50–950 ramp

primary
#ECFB7A
secondary
#5341D8
accent
#00E61B
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECFB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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