#ECF99D#ECF99D

#ECF99D is a very light, moderate yellow. Relative luminance 0.880; OKLCH L 95.2% C 0.116 H 115.2°. Best body text is #000000 at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#ECF99D
RGBrgb(236, 249, 157)
HSLhsl(68, 88%, 80%)
HSVhsv(68, 37%, 98%)
CMYKcmyk(5.2%, 0%, 36.9%, 2.4%)
CIE-LABlab(95.17, -18.06, 42.75)
CIE-LCHlch(95.17, 46.40, 112.90°)
OKLaboklab(95.2% -0.0494 0.1049)
OKLCHoklch(95.2% 0.116 115.2)
XYZxyz(74.5539, 88.0193, 44.9537)
Luminance0.8802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF99D #AA9DF9
analogous
#F9D89D #ECF99D #BEF99D
triadic
#ECF99D #9DECF9 #F99DEC
tetradic
#ECF99D #9DF9D8 #AA9DF9 #F99DBE
square
#ECF99D #9DF9D8 #AA9DF9 #F99DBE
split-complementary
#ECF99D #9DBEF9 #D89DF9
monochromatic
#D6F22A #E1F563 #ECF99D #F7FDD7 #F9FDE2

Accessibility & contrast

On white

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

On black

18.60
#ECF99D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF99D
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF99D#FFFFFF#000000##000000
##ECF99D1.001.1318.6018.60
#FFFFFF1.131.0021.0021.00
#00000018.6021.001.001.00
##00000018.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF096
Deuteranopia (green-blind)
#FFF2A1
Tritanopia (blue-blind)
#F6EFE2
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecf99d;
/* rgb */ color: rgb(236, 249, 157);
/* oklch */ color: oklch(95.2% 0.116 115.2);
Tailwind
colors: {
  custom: {
    50: '#f3fbbb',
    500: '#ecf99d',
    950: '#000000',
  },
}
SCSS
$custom: #ecf99d;
$custom-light: #f3fbbb;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf99d",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 157
  },
  "hsl": {
    "h": 68.478,
    "s": 88.462,
    "l": 79.608
  },
  "oklch": {
    "l": 0.95201,
    "c": 0.11591,
    "h": 115.2
  },
  "luminance": 0.88019
}

Semantic roles & 50–950 ramp

primary
#ECF99D
secondary
#7260DA
accent
#00E521
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171712
muted
#858582

Preview Lab

Preview with #ECF99D

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

Preview Lab → · Contrast checker → · Palette generator →

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