#ECFB9A#ECFB9A

#ECFB9A is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.6% C 0.122 H 115.9°. Best body text is #000000 at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#ECFB9A
RGBrgb(236, 251, 154)
HSLhsl(69, 92%, 79%)
HSVhsv(69, 39%, 98%)
CMYKcmyk(6%, 0%, 38.6%, 1.6%)
CIE-LABlab(95.65, -19.36, 44.83)
CIE-LCHlch(95.65, 48.83, 113.36°)
OKLaboklab(95.57% -0.0533 0.1095)
OKLCHoklch(95.57% 0.122 115.9)
XYZxyz(74.9224, 89.1610, 43.8284)
Luminance0.8916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB9A #A99AFB
analogous
#FBD99A #ECFB9A #BCFB9A
triadic
#ECFB9A #9AECFB #FB9AEC
tetradic
#ECFB9A #9AFBD9 #A99AFB #FB9ABC
square
#ECFB9A #9AFBD9 #A99AFB #FB9ABC
split-complementary
#ECFB9A #9ABCFB #D99AFB
monochromatic
#D6F624 #E1F95F #ECFB9A #F7FDD5 #F9FEE2

Accessibility & contrast

On white

1.12
#ECFB9A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.83
#ECFB9A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB9A
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB9A#FFFFFF#000000##000000
##ECFB9A1.001.1218.8318.83
#FFFFFF1.121.0021.0021.00
#00000018.8321.001.001.00
##00000018.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF293
Deuteranopia (green-blind)
#FFF39F
Tritanopia (blue-blind)
#F6F1E3
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfb9a;
/* rgb */ color: rgb(236, 251, 154);
/* oklch */ color: oklch(95.6% 0.122 115.9);
Tailwind
colors: {
  custom: {
    50: '#f3fcb9',
    500: '#ecfb9a',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb9a;
$custom-light: #f3fcb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb9a",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 154
  },
  "hsl": {
    "h": 69.278,
    "s": 92.381,
    "l": 79.412
  },
  "oklch": {
    "l": 0.95568,
    "c": 0.12177,
    "h": 115.9
  },
  "luminance": 0.8916
}

Semantic roles & 50–950 ramp

primary
#ECFB9A
secondary
#715DDC
accent
#00E623
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFB9A

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

Preview Lab → · Contrast checker → · Palette generator →

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