#ECF99F#ECF99F

#ECF99F is a very light, moderate yellow. Relative luminance 0.881; OKLCH L 95.2% C 0.114 H 115.3°. Best body text is #000000 at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#ECF99F
RGBrgb(236, 249, 159)
HSLhsl(69, 88%, 80%)
HSVhsv(69, 36%, 98%)
CMYKcmyk(5.2%, 0%, 36.1%, 2.4%)
CIE-LABlab(95.20, -17.83, 41.80)
CIE-LCHlch(95.20, 45.44, 113.10°)
OKLaboklab(95.23% -0.0486 0.1028)
OKLCHoklch(95.23% 0.114 115.3)
XYZxyz(74.7261, 88.0882, 45.8603)
Luminance0.8809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF99F #AC9FF9
analogous
#F9D99F #ECF99F #BFF99F
triadic
#ECF99F #9FECF9 #F99FEC
tetradic
#ECF99F #9FF9D9 #AC9FF9 #F99FBF
square
#ECF99F #9FF9D9 #AC9FF9 #F99FBF
split-complementary
#ECF99F #9FBFF9 #D99FF9
monochromatic
#D5F22C #E1F565 #ECF99F #F7FDD9 #F9FDE2

Accessibility & contrast

On white

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

On black

18.62
#ECF99F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF99F
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF99F#FFFFFF#000000##000000
##ECF99F1.001.1318.6218.62
#FFFFFF1.131.0021.0021.00
#00000018.6221.001.001.00
##00000018.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf99f;
/* rgb */ color: rgb(236, 249, 159);
/* oklch */ color: oklch(95.2% 0.114 115.3);
Tailwind
colors: {
  custom: {
    50: '#f3fbbc',
    500: '#ecf99f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf99f;
$custom-light: #f3fbbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf99f",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 159
  },
  "hsl": {
    "h": 68.667,
    "s": 88.235,
    "l": 80
  },
  "oklch": {
    "l": 0.95233,
    "c": 0.11369,
    "h": 115.3
  },
  "luminance": 0.88087
}

Semantic roles & 50–950 ramp

primary
#ECF99F
secondary
#7462DA
accent
#01E522
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171712
muted
#858582

Preview Lab

Preview with #ECF99F

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

Preview Lab → · Contrast checker → · Palette generator →

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