#F2F5CC#F2F5CC

#F2F5CC is a very light, muted yellow. Relative luminance 0.885; OKLCH L 95.7% C 0.053 H 110.8°. Best body text is #000000 at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#F2F5CC
RGBrgb(242, 245, 204)
HSLhsl(64, 67%, 88%)
HSVhsv(64, 17%, 96%)
CMYKcmyk(1.2%, 0%, 16.7%, 3.9%)
CIE-LABlab(95.39, -7.71, 19.45)
CIE-LCHlch(95.39, 20.92, 111.62°)
OKLaboklab(95.75% -0.019 0.05)
OKLCHoklch(95.75% 0.053 110.8)
XYZxyz(80.1685, 88.5423, 69.9821)
Luminance0.8854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F5CC #CFCCF5
analogous
#F5E3CC #F2F5CC #DDF5CC
triadic
#F2F5CC #CCF2F5 #F5CCF2
tetradic
#F2F5CC #CCF5E3 #CFCCF5 #F5CCDD
square
#F2F5CC #CCF5E3 #CFCCF5 #F5CCDD
split-complementary
#F2F5CC #CCDDF5 #E3CCF5
monochromatic
#D8E166 #E5EB99 #F2F5CC #F8FAE5 #F8FAE5

Accessibility & contrast

On white

1.12
#F2F5CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.71
#F2F5CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F5CC
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F5CC#FFFFFF#000000##000000
##F2F5CC1.001.1218.7118.71
#FFFFFF1.121.0021.0021.00
#00000018.7121.001.001.00
##00000018.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCF1CA
Deuteranopia (green-blind)
#FCF2CD
Tritanopia (blue-blind)
#F8F0EA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2f5cc;
/* rgb */ color: rgb(242, 245, 204);
/* oklch */ color: oklch(95.7% 0.053 110.8);
Tailwind
colors: {
  custom: {
    50: '#f6f8db',
    500: '#f2f5cc',
    950: '#000000',
  },
}
SCSS
$custom: #f2f5cc;
$custom-light: #f6f8db;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f5cc",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 204
  },
  "hsl": {
    "h": 64.39,
    "s": 67.213,
    "l": 88.039
  },
  "oklch": {
    "l": 0.95749,
    "c": 0.05347,
    "h": 110.8
  },
  "luminance": 0.88542
}

Semantic roles & 50–950 ramp

primary
#F2F5CC
secondary
#948FD7
accent
#16CF24
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171715
muted
#858584

Preview Lab

Preview with #F2F5CC

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

Preview Lab → · Contrast checker → · Palette generator →

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