#F2F2BB#F2F2BB

#F2F2BB is a very light, moderate yellow. Relative luminance 0.860; OKLCH L 94.8% C 0.071 H 107.7°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#F2F2BB
RGBrgb(242, 242, 187)
HSLhsl(60, 68%, 84%)
HSVhsv(60, 23%, 95%)
CMYKcmyk(0%, 0%, 22.7%, 5.1%)
CIE-LABlab(94.30, -8.64, 26.64)
CIE-LCHlch(94.30, 28.00, 107.96°)
OKLaboklab(94.78% -0.0215 0.0675)
OKLCHoklch(94.78% 0.071 107.7)
XYZxyz(77.3395, 85.9703, 59.5238)
Luminance0.8597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F2BB #BBBBF2
analogous
#F2D7BB #F2F2BB #D7F2BB
triadic
#F2F2BB #BBF2F2 #F2BBF2
tetradic
#F2F2BB #BBF2D7 #BBBBF2 #F2BBD7
square
#F2F2BB #BBF2D7 #BBBBF2 #F2BBD7
split-complementary
#F2F2BB #BBD7F2 #D7BBF2
monochromatic
#DEDE54 #E8E888 #F2F2BB #FAFAE5 #FAFAE5

Accessibility & contrast

On white

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

On black

18.19
#F2F2BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F2BB
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F2BB#FFFFFF#000000##000000
##F2F2BB1.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBEDB8
Deuteranopia (green-blind)
#FCF0BD
Tritanopia (blue-blind)
#FAEBE3
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f2bb;
/* rgb */ color: rgb(242, 242, 187);
/* oklch */ color: oklch(94.8% 0.071 107.7);
Tailwind
colors: {
  custom: {
    50: '#f6f6cf',
    500: '#f2f2bb',
    950: '#000000',
  },
}
SCSS
$custom: #f2f2bb;
$custom-light: #f6f6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f2bb",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 187
  },
  "hsl": {
    "h": 60,
    "s": 67.901,
    "l": 84.118
  },
  "oklch": {
    "l": 0.94779,
    "c": 0.07089,
    "h": 107.7
  },
  "luminance": 0.85969
}

Semantic roles & 50–950 ramp

primary
#F2F2BB
secondary
#8080D2
accent
#16D016
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F2F2BB

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

Preview Lab → · Contrast checker → · Palette generator →

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