#F2F2CC#F2F2CC

#F2F2CC is a very light, muted yellow. Relative luminance 0.867; OKLCH L 95.1% C 0.050 H 107.3°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#F2F2CC
RGBrgb(242, 242, 204)
HSLhsl(60, 59%, 87%)
HSVhsv(60, 16%, 95%)
CMYKcmyk(0%, 0%, 15.7%, 5.1%)
CIE-LABlab(94.63, -6.21, 18.39)
CIE-LCHlch(94.63, 19.41, 108.65°)
OKLaboklab(95.15% -0.0147 0.0473)
OKLCHoklch(95.15% 0.05 107.3)
XYZxyz(79.2683, 86.7419, 69.6820)
Luminance0.8674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F2CC #CCCCF2
analogous
#F2DFCC #F2F2CC #DFF2CC
triadic
#F2F2CC #CCF2F2 #F2CCF2
tetradic
#F2F2CC #CCF2DF #CCCCF2 #F2CCDF
square
#F2F2CC #CCF2DF #CCCCF2 #F2CCDF
split-complementary
#F2F2CC #CCDFF2 #DFCCF2
monochromatic
#D9D96A #E6E69B #F2F2CC #F9F9E7 #F9F9E7

Accessibility & contrast

On white

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

On black

18.35
#F2F2CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F2CC
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F2CC#FFFFFF#000000##000000
##F2F2CC1.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9EFCA
Deuteranopia (green-blind)
#FAF0CD
Tritanopia (blue-blind)
#F8EDE7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f2f2cc;
/* rgb */ color: rgb(242, 242, 204);
/* oklch */ color: oklch(95.1% 0.050 107.3);
Tailwind
colors: {
  custom: {
    50: '#f6f6db',
    500: '#f2f2cc',
    950: '#000000',
  },
}
SCSS
$custom: #f2f2cc;
$custom-light: #f6f6db;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f2cc",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 204
  },
  "hsl": {
    "h": 60,
    "s": 59.375,
    "l": 87.451
  },
  "oklch": {
    "l": 0.95148,
    "c": 0.04958,
    "h": 107.3
  },
  "luminance": 0.86741
}

Semantic roles & 50–950 ramp

primary
#F2F2CC
secondary
#9191D1
accent
#1EC71E
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171715
muted
#858584

Preview Lab

Preview with #F2F2CC

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

Preview Lab → · Contrast checker → · Palette generator →

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