#F2F7EF#F2F7EF

#F2F7EF is a very light, near-neutral yellow-green. Relative luminance 0.916; OKLCH L 97.0% C 0.012 H 133.4°. Best body text is #000000 at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#F2F7EF
RGBrgb(242, 247, 239)
HSLhsl(98, 33%, 95%)
HSVhsv(98, 3%, 97%)
CMYKcmyk(2%, 0%, 3.2%, 3.1%)
CIE-LABlab(96.67, -3.06, 3.26)
CIE-LCHlch(96.67, 4.47, 133.18°)
OKLaboklab(97.02% -0.0081 0.0086)
OKLCHoklch(97.02% 0.012 133.4)
XYZxyz(85.4561, 91.6306, 94.8291)
Luminance0.9163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F7EF #F4EFF7
analogous
#F6F7EF #F2F7EF #EFF7F0
triadic
#F2F7EF #EFF2F7 #F7EFF2
tetradic
#F2F7EF #EFF6F7 #F4EFF7 #F7F0EF
square
#F2F7EF #EFF6F7 #F4EFF7 #F7F0EF
split-complementary
#F2F7EF #F0EFF7 #F7EFF6
monochromatic
#B0CE9D #D1E3C6 #EEF5EB #EEF5EB #EEF5EB

Accessibility & contrast

On white

1.09
#F2F7EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.33
#F2F7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F7EF
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F7EF#FFFFFF#000000##000000
##F2F7EF1.001.0919.3319.33
#FFFFFF1.091.0021.0021.00
#00000019.3321.001.001.00
##00000019.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8F6EF
Deuteranopia (green-blind)
#F7F5EF
Tritanopia (blue-blind)
#F2F6F5
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2f7ef;
/* rgb */ color: rgb(242, 247, 239);
/* oklch */ color: oklch(97.0% 0.012 133.4);
Tailwind
colors: {
  custom: {
    50: '#f6f9f4',
    500: '#f2f7ef',
    950: '#000000',
  },
}
SCSS
$custom: #f2f7ef;
$custom-light: #f6f9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f7ef",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 239
  },
  "hsl": {
    "h": 97.5,
    "s": 33.333,
    "l": 95.294
  },
  "oklch": {
    "l": 0.97016,
    "c": 0.01179,
    "h": 133.4
  },
  "luminance": 0.91631
}

Semantic roles & 50–950 ramp

primary
#F2F7EF
secondary
#C8B8D3
accent
#39AC81
background
#FFFFFF
surface
#FEFFFE
border
#D6D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #F2F7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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