#ECF899#ECF899

#ECF899 is a very light, moderate yellow. Relative luminance 0.873; OKLCH L 94.9% C 0.119 H 114.6°. Best body text is #000000 at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#ECF899
RGBrgb(236, 248, 153)
HSLhsl(68, 87%, 79%)
HSVhsv(68, 38%, 97%)
CMYKcmyk(4.8%, 0%, 38.3%, 2.7%)
CIE-LABlab(94.85, -18.02, 44.30)
CIE-LCHlch(94.85, 47.82, 112.14°)
OKLaboklab(94.93% -0.0495 0.1083)
OKLCHoklch(94.93% 0.119 114.6)
XYZxyz(73.9097, 87.2684, 43.0817)
Luminance0.8727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF899 #A599F8
analogous
#F8D499 #ECF899 #BCF899
triadic
#ECF899 #99ECF8 #F899EC
tetradic
#ECF899 #99F8D4 #A599F8 #F899BC
square
#ECF899 #99F8D4 #A599F8 #F899BC
split-complementary
#ECF899 #99BCF8 #D499F8
monochromatic
#D7F026 #E1F460 #ECF899 #F7FCD2 #FAFDE2

Accessibility & contrast

On white

1.14
#ECF899 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.45
#ECF899 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF899
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF899#FFFFFF#000000##000000
##ECF8991.001.1418.4518.45
#FFFFFF1.141.0021.0021.00
#00000018.4521.001.001.00
##00000018.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF92
Deuteranopia (green-blind)
#FFF19D
Tritanopia (blue-blind)
#F6EEE1
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecf899;
/* rgb */ color: rgb(236, 248, 153);
/* oklch */ color: oklch(94.9% 0.119 114.6);
Tailwind
colors: {
  custom: {
    50: '#f3fab8',
    500: '#ecf899',
    950: '#000000',
  },
}
SCSS
$custom: #ecf899;
$custom-light: #f3fab8;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf899",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 153
  },
  "hsl": {
    "h": 67.579,
    "s": 87.156,
    "l": 78.627
  },
  "oklch": {
    "l": 0.94929,
    "c": 0.11904,
    "h": 114.6
  },
  "luminance": 0.87268
}

Semantic roles & 50–950 ramp

primary
#ECF899
secondary
#6D5DD8
accent
#02E41E
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF899

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

Preview Lab → · Contrast checker → · Palette generator →

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