#F0FAF2#F0FAF2

#F0FAF2 is a very light, near-neutral green. Relative luminance 0.933; OKLCH L 97.5% C 0.015 H 151.8°. Best body text is #000000 at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#F0FAF2
RGBrgb(240, 250, 242)
HSLhsl(132, 50%, 96%)
HSVhsv(132, 4%, 98%)
CMYKcmyk(4%, 0%, 3.2%, 2%)
CIE-LABlab(97.35, -4.71, 2.69)
CIE-LCHlch(97.35, 5.42, 150.28°)
OKLaboklab(97.54% -0.0131 0.007)
OKLCHoklch(97.54% 0.015 151.8)
XYZxyz(86.1449, 93.3068, 97.4588)
Luminance0.9331 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FAF2 #FAF0F8
analogous
#F3FAF0 #F0FAF2 #F0FAF7
triadic
#F0FAF2 #F2F0FA #FAF2F0
tetradic
#F0FAF2 #F0F3FA #FAF0F8 #FAF7F0
square
#F0FAF2 #F0F3FA #FAF0F8 #FAF7F0
split-complementary
#F0FAF2 #F7F0FA #FAF0F3
monochromatic
#94DBA2 #C2EBCA #E8F7EB #E8F7EB #E8F7EB

Accessibility & contrast

On white

1.07
#F0FAF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.66
#F0FAF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FAF2
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FAF2#FFFFFF#000000##000000
##F0FAF21.001.0719.6619.66
#FFFFFF1.071.0021.0021.00
#00000019.6621.001.001.00
##00000019.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAF8F2
Deuteranopia (green-blind)
#F8F7F2
Tritanopia (blue-blind)
#EFFAF8
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f0faf2;
/* rgb */ color: rgb(240, 250, 242);
/* oklch */ color: oklch(97.5% 0.015 151.8);
Tailwind
colors: {
  custom: {
    50: '#f5fcf6',
    500: '#f0faf2',
    950: '#000000',
  },
}
SCSS
$custom: #f0faf2;
$custom-light: #f5fcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#f0faf2",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 242
  },
  "hsl": {
    "h": 132,
    "s": 50,
    "l": 96.078
  },
  "oklch": {
    "l": 0.97542,
    "c": 0.01489,
    "h": 151.8
  },
  "luminance": 0.93307
}

Semantic roles & 50–950 ramp

primary
#F0FAF2
secondary
#DBB4D3
accent
#28A0BD
background
#FFFFFF
surface
#FEFFFE
border
#D6D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #F0FAF2

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

Preview Lab → · Contrast checker → · Palette generator →

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