#F2F7DF#F2F7DF

#F2F7DF is a very light, muted yellow-green. Relative luminance 0.907; OKLCH L 96.6% C 0.032 H 116.6°. Best body text is #000000 at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#F2F7DF
RGBrgb(242, 247, 223)
HSLhsl(73, 60%, 92%)
HSVhsv(73, 10%, 97%)
CMYKcmyk(2%, 0%, 9.7%, 3.1%)
CIE-LABlab(96.30, -5.75, 10.97)
CIE-LCHlch(96.30, 12.39, 117.66°)
OKLaboklab(96.6% -0.0143 0.0286)
OKLCHoklch(96.6% 0.032 116.6)
XYZxyz(83.1962, 90.7267, 82.9268)
Luminance0.9073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F7DF #E4DFF7
analogous
#F7F0DF #F2F7DF #E6F7DF
triadic
#F2F7DF #DFF2F7 #F7DFF2
tetradic
#F2F7DF #DFF7F0 #E4DFF7 #F7DFE6
square
#F2F7DF #DFF7F0 #E4DFF7 #F7DFE6
split-complementary
#F2F7DF #DFE6F7 #F0DFF7
monochromatic
#CADF7D #DEEBAE #F2F7DF #F5F9E7 #F5F9E7

Accessibility & contrast

On white

1.10
#F2F7DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.15
#F2F7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F7DF
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F7DF#FFFFFF#000000##000000
##F2F7DF1.001.1019.1519.15
#FFFFFF1.101.0021.0021.00
#00000019.1521.001.001.00
##00000019.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBF4DE
Deuteranopia (green-blind)
#FAF5E0
Tritanopia (blue-blind)
#F5F4F0
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f2f7df;
/* rgb */ color: rgb(242, 247, 223);
/* oklch */ color: oklch(96.6% 0.032 116.6);
Tailwind
colors: {
  custom: {
    50: '#f6f9e9',
    500: '#f2f7df',
    950: '#000000',
  },
}
SCSS
$custom: #f2f7df;
$custom-light: #f6f9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f7df",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 223
  },
  "hsl": {
    "h": 72.5,
    "s": 60,
    "l": 92.157
  },
  "oklch": {
    "l": 0.966,
    "c": 0.03195,
    "h": 116.6
  },
  "luminance": 0.90726
}

Semantic roles & 50–950 ramp

primary
#F2F7DF
secondary
#ADA1D9
accent
#1EC841
background
#FFFFFE
surface
#FEFFFC
border
#D6D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #F2F7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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