#F2F7EC#F2F7EC

#F2F7EC is a very light, near-neutral yellow-green. Relative luminance 0.915; OKLCH L 96.9% C 0.015 H 126.8°. Best body text is #000000 at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#F2F7EC
RGBrgb(242, 247, 236)
HSLhsl(87, 41%, 95%)
HSVhsv(87, 4%, 97%)
CMYKcmyk(2%, 0%, 4.5%, 3.1%)
CIE-LABlab(96.60, -3.58, 4.70)
CIE-LCHlch(96.60, 5.91, 127.26°)
OKLaboklab(96.94% -0.0092 0.0124)
OKLCHoklch(96.94% 0.015 126.8)
XYZxyz(85.0166, 91.4548, 92.5143)
Luminance0.9145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F7EC #F1ECF7
analogous
#F7F7EC #F2F7EC #EDF7EC
triadic
#F2F7EC #ECF2F7 #F7ECF2
tetradic
#F2F7EC #ECF7F7 #F1ECF7 #F7ECED
square
#F2F7EC #ECF7F7 #F1ECF7 #F7ECED
split-complementary
#F2F7EC #ECEDF7 #F7ECF7
monochromatic
#B7D396 #D5E5C1 #F0F6E9 #F0F6E9 #F0F6E9

Accessibility & contrast

On white

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

On black

19.29
#F2F7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F7EC
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F7EC#FFFFFF#000000##000000
##F2F7EC1.001.0919.2919.29
#FFFFFF1.091.0021.0021.00
#00000019.2921.001.001.00
##00000019.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8F5EB
Deuteranopia (green-blind)
#F8F5EC
Tritanopia (blue-blind)
#F3F6F4
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2f7ec;
/* rgb */ color: rgb(242, 247, 236);
/* oklch */ color: oklch(96.9% 0.015 126.8);
Tailwind
colors: {
  custom: {
    50: '#f6f9f2',
    500: '#f2f7ec',
    950: '#000000',
  },
}
SCSS
$custom: #f2f7ec;
$custom-light: #f6f9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f7ec",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 236
  },
  "hsl": {
    "h": 87.273,
    "s": 40.741,
    "l": 94.706
  },
  "oklch": {
    "l": 0.96935,
    "c": 0.01543,
    "h": 126.8
  },
  "luminance": 0.91455
}

Semantic roles & 50–950 ramp

primary
#F2F7EC
secondary
#C2B3D5
accent
#32B46D
background
#FFFFFF
surface
#FEFFFE
border
#D6D7D6
text
#171716
muted
#858585

Preview Lab

Preview with #F2F7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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