#ECFB99#ECFB99

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

Color values

HEX#ECFB99
RGBrgb(236, 251, 153)
HSLhsl(69, 92%, 79%)
HSVhsv(69, 39%, 98%)
CMYKcmyk(6%, 0%, 39%, 1.6%)
CIE-LABlab(95.63, -19.47, 45.29)
CIE-LCHlch(95.63, 49.30, 113.26°)
OKLaboklab(95.55% -0.0536 0.1105)
OKLCHoklch(95.55% 0.123 115.9)
XYZxyz(74.8395, 89.1278, 43.3916)
Luminance0.8913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB99 #A899FB
analogous
#FBD999 #ECFB99 #BBFB99
triadic
#ECFB99 #99ECFB #FB99EC
tetradic
#ECFB99 #99FBD9 #A899FB #FB99BB
square
#ECFB99 #99FBD9 #A899FB #FB99BB
split-complementary
#ECFB99 #99BBFB #D999FB
monochromatic
#D6F623 #E1F95E #ECFB99 #F7FDD4 #FAFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFB99#FFFFFF#000000##000000
##ECFB991.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)
#FFF292
Deuteranopia (green-blind)
#FFF39E
Tritanopia (blue-blind)
#F6F1E3
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfb99;
/* rgb */ color: rgb(236, 251, 153);
/* oklch */ color: oklch(95.6% 0.123 115.9);
Tailwind
colors: {
  custom: {
    50: '#f3fcb8',
    500: '#ecfb99',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb99;
$custom-light: #f3fcb8;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb99",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 153
  },
  "hsl": {
    "h": 69.184,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.95553,
    "c": 0.12286,
    "h": 115.9
  },
  "luminance": 0.89127
}

Semantic roles & 50–950 ramp

primary
#ECFB99
secondary
#705CDC
accent
#00E623
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFB99

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

Preview Lab → · Contrast checker → · Palette generator →

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