#F2F2CF#F2F2CF

#F2F2CF is a very light, muted yellow. Relative luminance 0.869; OKLCH L 95.2% C 0.046 H 107.2°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#F2F2CF
RGBrgb(242, 242, 207)
HSLhsl(60, 57%, 88%)
HSVhsv(60, 14%, 95%)
CMYKcmyk(0%, 0%, 14.5%, 5.1%)
CIE-LABlab(94.69, -5.75, 16.93)
CIE-LCHlch(94.69, 17.88, 108.77°)
OKLaboklab(95.22% -0.0136 0.0437)
OKLCHoklch(95.22% 0.046 107.2)
XYZxyz(79.6316, 86.8872, 71.5952)
Luminance0.8689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F2CF #CFCFF2
analogous
#F2E0CF #F2F2CF #E0F2CF
triadic
#F2F2CF #CFF2F2 #F2CFF2
tetradic
#F2F2CF #CFF2E0 #CFCFF2 #F2CFE0
square
#F2F2CF #CFF2E0 #CFCFF2 #F2CFE0
split-complementary
#F2F2CF #CFE0F2 #E0CFF2
monochromatic
#D8D86F #E5E59F #F2F2CF #F8F8E7 #F8F8E7

Accessibility & contrast

On white

1.14
#F2F2CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.38
#F2F2CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F2CF
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F2CF#FFFFFF#000000##000000
##F2F2CF1.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8EFCD
Deuteranopia (green-blind)
#F9F0D0
Tritanopia (blue-blind)
#F8EDE8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f2f2cf;
/* rgb */ color: rgb(242, 242, 207);
/* oklch */ color: oklch(95.2% 0.046 107.2);
Tailwind
colors: {
  custom: {
    50: '#f6f6dd',
    500: '#f2f2cf',
    950: '#000000',
  },
}
SCSS
$custom: #f2f2cf;
$custom-light: #f6f6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f2cf",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 207
  },
  "hsl": {
    "h": 60,
    "s": 57.377,
    "l": 88.039
  },
  "oklch": {
    "l": 0.95217,
    "c": 0.04575,
    "h": 107.2
  },
  "luminance": 0.86887
}

Semantic roles & 50–950 ramp

primary
#F2F2CF
secondary
#9494D1
accent
#21C521
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171715
muted
#858584

Preview Lab

Preview with #F2F2CF

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

Preview Lab → · Contrast checker → · Palette generator →

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