#ECFA99#ECFA99

#ECFA99 is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.3% C 0.122 H 115.5°. Best body text is #000000 at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#ECFA99
RGBrgb(236, 250, 153)
HSLhsl(69, 91%, 79%)
HSVhsv(69, 39%, 98%)
CMYKcmyk(5.6%, 0%, 38.8%, 2%)
CIE-LABlab(95.37, -18.99, 44.96)
CIE-LCHlch(95.37, 48.81, 112.90°)
OKLaboklab(95.35% -0.0523 0.1098)
OKLCHoklch(95.35% 0.122 115.5)
XYZxyz(74.5279, 88.5047, 43.2878)
Luminance0.8850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFA99 #A799FA
analogous
#FAD899 #ECFA99 #BCFA99
triadic
#ECFA99 #99ECFA #FA99EC
tetradic
#ECFA99 #99FAD8 #A799FA #FA99BC
square
#ECFA99 #99FAD8 #A799FA #FA99BC
split-complementary
#ECFA99 #99BCFA #D899FA
monochromatic
#D6F424 #E1F75F #ECFA99 #F7FDD3 #FAFEE2

Accessibility & contrast

On white

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

On black

18.70
#ECFA99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFA99
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFA99#FFFFFF#000000##000000
##ECFA991.001.1218.7018.70
#FFFFFF1.121.0021.0021.00
#00000018.7021.001.001.00
##00000018.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF192
Deuteranopia (green-blind)
#FFF39E
Tritanopia (blue-blind)
#F6F0E2
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfa99;
/* rgb */ color: rgb(236, 250, 153);
/* oklch */ color: oklch(95.3% 0.122 115.5);
Tailwind
colors: {
  custom: {
    50: '#f3fbb8',
    500: '#ecfa99',
    950: '#000000',
  },
}
SCSS
$custom: #ecfa99;
$custom-light: #f3fbb8;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfa99",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 153
  },
  "hsl": {
    "h": 68.66,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.95345,
    "c": 0.12158,
    "h": 115.5
  },
  "luminance": 0.88504
}

Semantic roles & 50–950 ramp

primary
#ECFA99
secondary
#6F5DDB
accent
#00E621
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFA99

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

Preview Lab → · Contrast checker → · Palette generator →

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