#F2F8EC#F2F8EC

#F2F8EC is a very light, near-neutral yellow-green. Relative luminance 0.921; OKLCH L 97.1% C 0.017 H 128.7°. Best body text is #000000 at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#F2F8EC
RGBrgb(242, 248, 236)
HSLhsl(90, 46%, 95%)
HSVhsv(90, 5%, 97%)
CMYKcmyk(2.4%, 0%, 4.8%, 2.7%)
CIE-LABlab(96.85, -4.08, 5.07)
CIE-LCHlch(96.85, 6.51, 128.86°)
OKLaboklab(97.13% -0.0106 0.0133)
OKLCHoklch(97.13% 0.017 128.7)
XYZxyz(85.3232, 92.0681, 92.6165)
Luminance0.9207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F8EC #F2ECF8
analogous
#F8F8EC #F2F8EC #ECF8EC
triadic
#F2F8EC #ECF2F8 #F8ECF2
tetradic
#F2F8EC #ECF8F8 #F2ECF8 #F8ECEC
square
#F2F8EC #ECF8F8 #F2ECF8 #F8ECEC
split-complementary
#F2F8EC #ECECF8 #F8ECF8
monochromatic
#B5D793 #D3E8BF #F0F7E9 #F0F7E9 #F0F7E9

Accessibility & contrast

On white

1.08
#F2F8EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.41
#F2F8EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F8EC
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F8EC#FFFFFF#000000##000000
##F2F8EC1.001.0819.4119.41
#FFFFFF1.081.0021.0021.00
#00000019.4121.001.001.00
##00000019.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9F6EB
Deuteranopia (green-blind)
#F8F6EC
Tritanopia (blue-blind)
#F3F7F4
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f2f8ec;
/* rgb */ color: rgb(242, 248, 236);
/* oklch */ color: oklch(97.1% 0.017 128.7);
Tailwind
colors: {
  custom: {
    50: '#f6faf2',
    500: '#f2f8ec',
    950: '#000000',
  },
}
SCSS
$custom: #f2f8ec;
$custom-light: #f6faf2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f8ec",
  "rgb": {
    "r": 242,
    "g": 248,
    "b": 236
  },
  "hsl": {
    "h": 90,
    "s": 46.154,
    "l": 94.902
  },
  "oklch": {
    "l": 0.97133,
    "c": 0.01703,
    "h": 128.7
  },
  "luminance": 0.92068
}

Semantic roles & 50–950 ramp

primary
#F2F8EC
secondary
#C4B1D7
accent
#2CB973
background
#FFFFFF
surface
#FEFFFE
border
#D6D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #F2F8EC

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

Preview Lab → · Contrast checker → · Palette generator →

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