#F2FCAF#F2FCAF

#F2FCAF is a very light, moderate yellow. Relative luminance 0.916; OKLCH L 96.6% C 0.098 H 114.3°. Best body text is #000000 at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#F2FCAF
RGBrgb(242, 252, 175)
HSLhsl(68, 93%, 84%)
HSVhsv(68, 31%, 99%)
CMYKcmyk(4%, 0%, 30.6%, 1.2%)
CIE-LABlab(96.65, -15.14, 35.86)
CIE-LCHlch(96.65, 38.93, 112.88°)
OKLaboklab(96.58% -0.0403 0.0894)
OKLCHoklch(96.58% 0.098 114.3)
XYZxyz(79.1662, 91.5939, 54.0580)
Luminance0.9159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FCAF #B9AFFC
analogous
#FCDFAF #F2FCAF #CBFCAF
triadic
#F2FCAF #AFF2FC #FCAFF2
tetradic
#F2FCAF #AFFCDF #B9AFFC #FCAFCB
square
#F2FCAF #AFFCDF #B9AFFC #FCAFCB
split-complementary
#F2FCAF #AFCBFC #DFAFFC
monochromatic
#DFF839 #E8FA74 #F2FCAF #FAFEE2 #FAFEE2

Accessibility & contrast

On white

1.09
#F2FCAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.32
#F2FCAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FCAF
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FCAF#FFFFFF#000000##000000
##F2FCAF1.001.0919.3219.32
#FFFFFF1.091.0021.0021.00
#00000019.3221.001.001.00
##00000019.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5AA
Deuteranopia (green-blind)
#FFF6B2
Tritanopia (blue-blind)
#FBF3E8
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2fcaf;
/* rgb */ color: rgb(242, 252, 175);
/* oklch */ color: oklch(96.6% 0.098 114.3);
Tailwind
colors: {
  custom: {
    50: '#f7fdc7',
    500: '#f2fcaf',
    950: '#000000',
  },
}
SCSS
$custom: #f2fcaf;
$custom-light: #f7fdc7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fcaf",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 175
  },
  "hsl": {
    "h": 67.792,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.9658,
    "c": 0.09808,
    "h": 114.3
  },
  "luminance": 0.91593
}

Semantic roles & 50–950 ramp

primary
#F2FCAF
secondary
#7E6FE0
accent
#00E61E
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171713
muted
#858582

Preview Lab

Preview with #F2FCAF

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

Preview Lab → · Contrast checker → · Palette generator →

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