#F2FAAB#F2FAAB

#F2FAAB is a very light, moderate yellow. Relative luminance 0.902; OKLCH L 96.1% C 0.100 H 113.0°. Best body text is #000000 at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#F2FAAB
RGBrgb(242, 250, 171)
HSLhsl(66, 89%, 83%)
HSVhsv(66, 32%, 98%)
CMYKcmyk(3.2%, 0%, 31.6%, 2%)
CIE-LABlab(96.08, -14.66, 37.09)
CIE-LCHlch(96.08, 39.88, 111.56°)
OKLaboklab(96.1% -0.0391 0.0922)
OKLCHoklch(96.1% 0.1 113)
XYZxyz(78.1544, 90.1896, 51.8113)
Luminance0.9019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FAAB #B3ABFA
analogous
#FADBAB #F2FAAB #CAFAAB
triadic
#F2FAAB #ABF2FA #FAABF2
tetradic
#F2FAAB #ABFADB #B3ABFA #FAABCA
square
#F2FAAB #ABFADB #B3ABFA #FAABCA
split-complementary
#F2FAAB #ABCAFA #DBABFA
monochromatic
#E0F337 #E9F771 #F2FAAB #FBFDE2 #FBFDE2

Accessibility & contrast

On white

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

On black

19.04
#F2FAAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FAAB
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FAAB#FFFFFF#000000##000000
##F2FAAB1.001.1019.0419.04
#FFFFFF1.101.0021.0021.00
#00000019.0421.001.001.00
##00000019.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3A6
Deuteranopia (green-blind)
#FFF5AE
Tritanopia (blue-blind)
#FBF1E6
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f2faab;
/* rgb */ color: rgb(242, 250, 171);
/* oklch */ color: oklch(96.1% 0.100 113.0);
Tailwind
colors: {
  custom: {
    50: '#f7fbc4',
    500: '#f2faab',
    950: '#000000',
  },
}
SCSS
$custom: #f2faab;
$custom-light: #f7fbc4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2faab",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 171
  },
  "hsl": {
    "h": 66.076,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.96099,
    "c": 0.10015,
    "h": 113
  },
  "luminance": 0.90189
}

Semantic roles & 50–950 ramp

primary
#F2FAAB
secondary
#786CDD
accent
#00E517
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171713
muted
#858582

Preview Lab

Preview with #F2FAAB

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

Preview Lab → · Contrast checker → · Palette generator →

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