#F2F2BF#F2F2BF

#F2F2BF is a very light, moderate yellow. Relative luminance 0.861; OKLCH L 94.9% C 0.066 H 107.6°. Best body text is #000000 at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#F2F2BF
RGBrgb(242, 242, 191)
HSLhsl(60, 66%, 85%)
HSVhsv(60, 21%, 95%)
CMYKcmyk(0%, 0%, 21.1%, 5.1%)
CIE-LABlab(94.37, -8.08, 24.70)
CIE-LCHlch(94.37, 25.99, 108.13°)
OKLaboklab(94.86% -0.0199 0.0629)
OKLCHoklch(94.86% 0.066 107.6)
XYZxyz(77.7737, 86.1440, 61.8105)
Luminance0.8614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F2BF #BFBFF2
analogous
#F2D9BF #F2F2BF #D9F2BF
triadic
#F2F2BF #BFF2F2 #F2BFF2
tetradic
#F2F2BF #BFF2D9 #BFBFF2 #F2BFD9
square
#F2F2BF #BFF2D9 #BFBFF2 #F2BFD9
split-complementary
#F2F2BF #BFD9F2 #D9BFF2
monochromatic
#DDDD59 #E8E88C #F2F2BF #FAFAE6 #FAFAE6

Accessibility & contrast

On white

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

On black

18.23
#F2F2BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F2BF
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F2BF#FFFFFF#000000##000000
##F2F2BF1.001.1518.2318.23
#FFFFFF1.151.0021.0021.00
#00000018.2321.001.001.00
##00000018.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBEEBC
Deuteranopia (green-blind)
#FCF0C1
Tritanopia (blue-blind)
#FAEBE4
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f2bf;
/* rgb */ color: rgb(242, 242, 191);
/* oklch */ color: oklch(94.9% 0.066 107.6);
Tailwind
colors: {
  custom: {
    50: '#f6f6d2',
    500: '#f2f2bf',
    950: '#000000',
  },
}
SCSS
$custom: #f2f2bf;
$custom-light: #f6f6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f2bf",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 191
  },
  "hsl": {
    "h": 60,
    "s": 66.234,
    "l": 84.902
  },
  "oklch": {
    "l": 0.94863,
    "c": 0.06593,
    "h": 107.6
  },
  "luminance": 0.86143
}

Semantic roles & 50–950 ramp

primary
#F2F2BF
secondary
#8383D2
accent
#17CE17
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F2F2BF

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

Preview Lab → · Contrast checker → · Palette generator →

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