#F0FECF#F0FECF

#F0FECF is a very light, moderate yellow-green. Relative luminance 0.939; OKLCH L 97.5% C 0.063 H 121.0°. Best body text is #000000 at 19.78:1 contrast (WCAG AA passes).

Color values

HEX#F0FECF
RGBrgb(240, 254, 207)
HSLhsl(78, 96%, 90%)
HSVhsv(78, 19%, 100%)
CMYKcmyk(5.5%, 0%, 18.5%, 0.4%)
CIE-LABlab(97.60, -12.42, 20.98)
CIE-LCHlch(97.60, 24.38, 120.64°)
OKLaboklab(97.48% -0.0324 0.0538)
OKLCHoklch(97.48% 0.063 121)
XYZxyz(82.6381, 93.9139, 72.7930)
Luminance0.9391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FECF #DDCFFE
analogous
#FEF4CF #F0FECF #D8FECF
triadic
#F0FECF #CFF0FE #FECFF0
tetradic
#F0FECF #CFFEF4 #DDCFFE #FECFD8
square
#F0FECF #CFFEF4 #DDCFFE #FECFD8
split-complementary
#F0FECF #CFD8FE #F4CFFE
monochromatic
#CBFC57 #DDFD93 #F0FECF #F6FEE1 #F6FEE1

Accessibility & contrast

On white

1.06
#F0FECF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.78
#F0FECF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FECF
19.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FECF#FFFFFF#000000##000000
##F0FECF1.001.0619.7819.78
#FFFFFF1.061.0021.0021.00
#00000019.7821.001.001.00
##00000019.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF8CC
Deuteranopia (green-blind)
#FFF8D1
Tritanopia (blue-blind)
#F4F9F1
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #f0fecf;
/* rgb */ color: rgb(240, 254, 207);
/* oklch */ color: oklch(97.5% 0.063 121.0);
Tailwind
colors: {
  custom: {
    50: '#f5fedd',
    500: '#f0fecf',
    950: '#000000',
  },
}
SCSS
$custom: #f0fecf;
$custom-light: #f5fedd;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fecf",
  "rgb": {
    "r": 240,
    "g": 254,
    "b": 207
  },
  "hsl": {
    "h": 77.872,
    "s": 95.918,
    "l": 90.392
  },
  "oklch": {
    "l": 0.97482,
    "c": 0.06278,
    "h": 121
  },
  "luminance": 0.93914
}

Semantic roles & 50–950 ramp

primary
#F0FECF
secondary
#A589E8
accent
#00E644
background
#FFFFFE
surface
#FEFFFC
border
#D6D7D5
text
#171715
muted
#858584

Preview Lab

Preview with #F0FECF

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

Preview Lab → · Contrast checker → · Palette generator →

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