#F2F2CB#F2F2CB

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

Color values

HEX#F2F2CB
RGBrgb(242, 242, 203)
HSLhsl(60, 60%, 87%)
HSVhsv(60, 16%, 95%)
CMYKcmyk(0%, 0%, 16.1%, 5.1%)
CIE-LABlab(94.61, -6.36, 18.87)
CIE-LCHlch(94.61, 19.91, 108.61°)
OKLaboklab(95.13% -0.0151 0.0485)
OKLCHoklch(95.13% 0.051 107.3)
XYZxyz(79.1487, 86.6940, 69.0524)
Luminance0.8669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F2CB #CBCBF2
analogous
#F2DFCB #F2F2CB #DFF2CB
triadic
#F2F2CB #CBF2F2 #F2CBF2
tetradic
#F2F2CB #CBF2DF #CBCBF2 #F2CBDF
square
#F2F2CB #CBF2DF #CBCBF2 #F2CBDF
split-complementary
#F2F2CB #CBDFF2 #DFCBF2
monochromatic
#DADA69 #E6E69A #F2F2CB #F9F9E7 #F9F9E7

Accessibility & contrast

On white

1.15
#F2F2CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.34
#F2F2CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F2CB
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F2CB#FFFFFF#000000##000000
##F2F2CB1.001.1518.3418.34
#FFFFFF1.151.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9EFC9
Deuteranopia (green-blind)
#FAF0CC
Tritanopia (blue-blind)
#F8EDE7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f2cb;
/* rgb */ color: rgb(242, 242, 203);
/* oklch */ color: oklch(95.1% 0.051 107.3);
Tailwind
colors: {
  custom: {
    50: '#f6f6db',
    500: '#f2f2cb',
    950: '#000000',
  },
}
SCSS
$custom: #f2f2cb;
$custom-light: #f6f6db;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f2cb",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 203
  },
  "hsl": {
    "h": 60,
    "s": 60,
    "l": 87.255
  },
  "oklch": {
    "l": 0.95125,
    "c": 0.05085,
    "h": 107.3
  },
  "luminance": 0.86693
}

Semantic roles & 50–950 ramp

primary
#F2F2CB
secondary
#9090D2
accent
#1EC81E
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171715
muted
#858584

Preview Lab

Preview with #F2F2CB

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

Preview Lab → · Contrast checker → · Palette generator →

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