#F2FABB#F2FABB

#F2FABB is a very light, moderate yellow. Relative luminance 0.908; OKLCH L 96.4% C 0.081 H 113.8°. Best body text is #000000 at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#F2FABB
RGBrgb(242, 250, 187)
HSLhsl(68, 86%, 86%)
HSVhsv(68, 25%, 98%)
CMYKcmyk(3.2%, 0%, 25.2%, 2%)
CIE-LABlab(96.34, -12.60, 29.42)
CIE-LCHlch(96.34, 32.01, 113.18°)
OKLaboklab(96.4% -0.0328 0.0743)
OKLCHoklch(96.4% 0.081 113.8)
XYZxyz(79.7728, 90.8370, 60.3349)
Luminance0.9084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FABB #C3BBFA
analogous
#FAE2BB #F2FABB #D2FABB
triadic
#F2FABB #BBF2FA #FABBF2
tetradic
#F2FABB #BBFAE2 #C3BBFA #FABBD2
square
#F2FABB #BBFAE2 #C3BBFA #FABBD2
split-complementary
#F2FABB #BBD2FA #E2BBFA
monochromatic
#DCF249 #E7F682 #F2FABB #FAFDE2 #FAFDE2

Accessibility & contrast

On white

1.10
#F2FABB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.17
#F2FABB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FABB
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FABB#FFFFFF#000000##000000
##F2FABB1.001.1019.1719.17
#FFFFFF1.101.0021.0021.00
#00000019.1721.001.001.00
##00000019.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4B7
Deuteranopia (green-blind)
#FFF5BE
Tritanopia (blue-blind)
#FAF3E9
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f2fabb;
/* rgb */ color: rgb(242, 250, 187);
/* oklch */ color: oklch(96.4% 0.081 113.8);
Tailwind
colors: {
  custom: {
    50: '#f7fbcf',
    500: '#f2fabb',
    950: '#000000',
  },
}
SCSS
$custom: #f2fabb;
$custom-light: #f7fbcf;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fabb",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 187
  },
  "hsl": {
    "h": 67.619,
    "s": 86.301,
    "l": 85.686
  },
  "oklch": {
    "l": 0.96399,
    "c": 0.0812,
    "h": 113.8
  },
  "luminance": 0.90836
}

Semantic roles & 50–950 ramp

primary
#F2FABB
secondary
#877BDE
accent
#03E31F
background
#FFFFFE
surface
#FEFFFB
border
#D6D7D4
text
#171714
muted
#858583

Preview Lab

Preview with #F2FABB

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

Preview Lab → · Contrast checker → · Palette generator →

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