#F2F7CB#F2F7CB

#F2F7CB is a very light, muted yellow. Relative luminance 0.897; OKLCH L 96.1% C 0.057 H 112.8°. Best body text is #000000 at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#F2F7CB
RGBrgb(242, 247, 203)
HSLhsl(67, 73%, 88%)
HSVhsv(67, 18%, 97%)
CMYKcmyk(2%, 0%, 17.8%, 3.1%)
CIE-LABlab(95.88, -8.85, 20.64)
CIE-LCHlch(95.88, 22.46, 113.21°)
OKLaboklab(96.13% -0.0222 0.0529)
OKLCHoklch(96.13% 0.057 112.8)
XYZxyz(80.6573, 89.7111, 69.5552)
Luminance0.8971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F7CB #D0CBF7
analogous
#F7E6CB #F2F7CB #DCF7CB
triadic
#F2F7CB #CBF2F7 #F7CBF2
tetradic
#F2F7CB #CBF7E6 #D0CBF7 #F7CBDC
square
#F2F7CB #CBF7E6 #D0CBF7 #F7CBDC
split-complementary
#F2F7CB #CBDCF7 #E6CBF7
monochromatic
#D7E761 #E5EF96 #F2F7CB #F8FBE4 #F8FBE4

Accessibility & contrast

On white

1.11
#F2F7CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.94
#F2F7CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F7CB
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F7CB#FFFFFF#000000##000000
##F2F7CB1.001.1118.9418.94
#FFFFFF1.111.0021.0021.00
#00000018.9421.001.001.00
##00000018.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEF3C8
Deuteranopia (green-blind)
#FEF4CD
Tritanopia (blue-blind)
#F8F2EB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2f7cb;
/* rgb */ color: rgb(242, 247, 203);
/* oklch */ color: oklch(96.1% 0.057 112.8);
Tailwind
colors: {
  custom: {
    50: '#f6f9db',
    500: '#f2f7cb',
    950: '#000000',
  },
}
SCSS
$custom: #f2f7cb;
$custom-light: #f6f9db;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f7cb",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 203
  },
  "hsl": {
    "h": 66.818,
    "s": 73.333,
    "l": 88.235
  },
  "oklch": {
    "l": 0.96128,
    "c": 0.05741,
    "h": 112.8
  },
  "luminance": 0.89711
}

Semantic roles & 50–950 ramp

primary
#F2F7CB
secondary
#958CDA
accent
#10D526
background
#FFFFFE
surface
#FEFFFB
border
#D6D7D4
text
#171715
muted
#858584

Preview Lab

Preview with #F2F7CB

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

Preview Lab → · Contrast checker → · Palette generator →

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