#F2F2BC#F2F2BC

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

Color values

HEX#F2F2BC
RGBrgb(242, 242, 188)
HSLhsl(60, 68%, 84%)
HSVhsv(60, 22%, 95%)
CMYKcmyk(0%, 0%, 22.3%, 5.1%)
CIE-LABlab(94.32, -8.50, 26.15)
CIE-LCHlch(94.32, 27.50, 108.00°)
OKLaboklab(94.8% -0.0211 0.0664)
OKLCHoklch(94.8% 0.07 107.7)
XYZxyz(77.4469, 86.0133, 60.0895)
Luminance0.8601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F2BC #BCBCF2
analogous
#F2D7BC #F2F2BC #D7F2BC
triadic
#F2F2BC #BCF2F2 #F2BCF2
tetradic
#F2F2BC #BCF2D7 #BCBCF2 #F2BCD7
square
#F2F2BC #BCF2D7 #BCBCF2 #F2BCD7
split-complementary
#F2F2BC #BCD7F2 #D7BCF2
monochromatic
#DEDE55 #E8E889 #F2F2BC #FAFAE5 #FAFAE5

Accessibility & contrast

On white

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

On black

18.20
#F2F2BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F2BC
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F2BC#FFFFFF#000000##000000
##F2F2BC1.001.1518.2018.20
#FFFFFF1.151.0021.0021.00
#00000018.2021.001.001.00
##00000018.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f2bc;
/* rgb */ color: rgb(242, 242, 188);
/* oklch */ color: oklch(94.8% 0.070 107.7);
Tailwind
colors: {
  custom: {
    50: '#f6f6d0',
    500: '#f2f2bc',
    950: '#000000',
  },
}
SCSS
$custom: #f2f2bc;
$custom-light: #f6f6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f2bc",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 188
  },
  "hsl": {
    "h": 60,
    "s": 67.5,
    "l": 84.314
  },
  "oklch": {
    "l": 0.948,
    "c": 0.06965,
    "h": 107.7
  },
  "luminance": 0.86012
}

Semantic roles & 50–950 ramp

primary
#F2F2BC
secondary
#8181D2
accent
#16CF16
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F2F2BC

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

Preview Lab → · Contrast checker → · Palette generator →

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