#F2FAAF#F2FAAF

#F2FAAF is a very light, moderate yellow. Relative luminance 0.903; OKLCH L 96.2% C 0.095 H 113.2°. Best body text is #000000 at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#F2FAAF
RGBrgb(242, 250, 175)
HSLhsl(66, 88%, 83%)
HSVhsv(66, 30%, 98%)
CMYKcmyk(3.2%, 0%, 30%, 2%)
CIE-LABlab(96.14, -14.16, 35.18)
CIE-LCHlch(96.14, 37.92, 111.93°)
OKLaboklab(96.17% -0.0375 0.0878)
OKLCHoklch(96.17% 0.095 113.2)
XYZxyz(78.5415, 90.3444, 53.8498)
Luminance0.9034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FAAF #B7AFFA
analogous
#FADCAF #F2FAAF #CCFAAF
triadic
#F2FAAF #AFF2FA #FAAFF2
tetradic
#F2FAAF #AFFADC #B7AFFA #FAAFCC
square
#F2FAAF #AFFADC #B7AFFA #FAAFCC
split-complementary
#F2FAAF #AFCCFA #DCAFFA
monochromatic
#DFF33C #E9F675 #F2FAAF #FAFDE2 #FAFDE2

Accessibility & contrast

On white

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

On black

19.07
#F2FAAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FAAF
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FAAF#FFFFFF#000000##000000
##F2FAAF1.001.1019.0719.07
#FFFFFF1.101.0021.0021.00
#00000019.0721.001.001.00
##00000019.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3AA
Deuteranopia (green-blind)
#FFF5B2
Tritanopia (blue-blind)
#FBF1E7
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f2faaf;
/* rgb */ color: rgb(242, 250, 175);
/* oklch */ color: oklch(96.2% 0.095 113.2);
Tailwind
colors: {
  custom: {
    50: '#f7fbc7',
    500: '#f2faaf',
    950: '#000000',
  },
}
SCSS
$custom: #f2faaf;
$custom-light: #f7fbc7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2faaf",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 175
  },
  "hsl": {
    "h": 66.4,
    "s": 88.235,
    "l": 83.333
  },
  "oklch": {
    "l": 0.96171,
    "c": 0.09548,
    "h": 113.2
  },
  "luminance": 0.90344
}

Semantic roles & 50–950 ramp

primary
#F2FAAF
secondary
#7C70DD
accent
#01E519
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171713
muted
#858582

Preview Lab

Preview with #F2FAAF

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

Preview Lab → · Contrast checker → · Palette generator →

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