#F7FEF2#F7FEF2

#F7FEF2 is a very light, near-neutral yellow-green. Relative luminance 0.971; OKLCH L 98.9% C 0.017 H 131.9°. Best body text is #000000 at 20.41:1 contrast (WCAG AA passes).

Color values

HEX#F7FEF2
RGBrgb(247, 254, 242)
HSLhsl(95, 86%, 97%)
HSVhsv(95, 5%, 100%)
CMYKcmyk(2.8%, 0%, 4.7%, 0.4%)
CIE-LABlab(98.86, -4.40, 4.93)
CIE-LCHlch(98.86, 6.61, 131.73°)
OKLaboklab(98.85% -0.0116 0.0129)
OKLCHoklch(98.85% 0.017 131.9)
XYZxyz(89.8239, 97.0684, 97.9911)
Luminance0.9707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7FEF2 #F9F2FE
analogous
#FDFEF2 #F7FEF2 #F2FEF3
triadic
#F7FEF2 #F2F7FE #FEF2F7
tetradic
#F7FEF2 #F2FDFE #F9F2FE #FEF3F2
square
#F7FEF2 #F2FDFE #F9F2FE #FEF3F2
split-complementary
#F7FEF2 #F3F2FE #FEF2FD
monochromatic
#B1F580 #D4FAB9 #EEFDE3 #EEFDE3 #EEFDE3

Accessibility & contrast

On white

1.03
#F7FEF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.41
#F7FEF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7FEF2
20.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7FEF2#FFFFFF#000000##000000
##F7FEF21.001.0320.4120.41
#FFFFFF1.031.0021.0021.00
#00000020.4121.001.001.00
##00000020.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFFCF1
Deuteranopia (green-blind)
#FEFCF2
Tritanopia (blue-blind)
#F7FDFA
Achromatopsia (no color)
#FCFCFC

Design tokens & code

CSS
--color: #f7fef2;
/* rgb */ color: rgb(247, 254, 242);
/* oklch */ color: oklch(98.9% 0.017 131.9);
Tailwind
colors: {
  custom: {
    50: '#f9fef6',
    500: '#f7fef2',
    950: '#000000',
  },
}
SCSS
$custom: #f7fef2;
$custom-light: #f9fef6;
$custom-dark: #000000;
JSON
{
  "hex": "#f7fef2",
  "rgb": {
    "r": 247,
    "g": 254,
    "b": 242
  },
  "hsl": {
    "h": 95,
    "s": 85.714,
    "l": 97.255
  },
  "oklch": {
    "l": 0.98851,
    "c": 0.01738,
    "h": 131.9
  },
  "luminance": 0.97069
}

Semantic roles & 50–950 ramp

primary
#F7FEF2
secondary
#CFAAEA
accent
#03E285
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #F7FEF2

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

Preview Lab → · Contrast checker → · Palette generator →

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