#F2FBAF#F2FBAF

#F2FBAF is a very light, moderate yellow. Relative luminance 0.910; OKLCH L 96.4% C 0.097 H 113.7°. Best body text is #000000 at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#F2FBAF
RGBrgb(242, 251, 175)
HSLhsl(67, 90%, 84%)
HSVhsv(67, 30%, 98%)
CMYKcmyk(3.6%, 0%, 30.3%, 1.6%)
CIE-LABlab(96.40, -14.65, 35.52)
CIE-LCHlch(96.40, 38.43, 112.41°)
OKLaboklab(96.38% -0.0389 0.0886)
OKLCHoklch(96.38% 0.097 113.7)
XYZxyz(78.8530, 90.9675, 53.9536)
Luminance0.9097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FBAF #B8AFFB
analogous
#FBDEAF #F2FBAF #CCFBAF
triadic
#F2FBAF #AFF2FB #FBAFF2
tetradic
#F2FBAF #AFFBDE #B8AFFB #FBAFCC
square
#F2FBAF #AFFBDE #B8AFFB #FBAFCC
split-complementary
#F2FBAF #AFCCFB #DEAFFB
monochromatic
#DFF53A #E9F875 #F2FBAF #FAFEE2 #FAFEE2

Accessibility & contrast

On white

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

On black

19.19
#F2FBAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FBAF
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FBAF#FFFFFF#000000##000000
##F2FBAF1.001.0919.1919.19
#FFFFFF1.091.0021.0021.00
#00000019.1921.001.001.00
##00000019.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2fbaf;
/* rgb */ color: rgb(242, 251, 175);
/* oklch */ color: oklch(96.4% 0.097 113.7);
Tailwind
colors: {
  custom: {
    50: '#f7fcc7',
    500: '#f2fbaf',
    950: '#000000',
  },
}
SCSS
$custom: #f2fbaf;
$custom-light: #f7fcc7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fbaf",
  "rgb": {
    "r": 242,
    "g": 251,
    "b": 175
  },
  "hsl": {
    "h": 67.105,
    "s": 90.476,
    "l": 83.529
  },
  "oklch": {
    "l": 0.96375,
    "c": 0.09678,
    "h": 113.7
  },
  "luminance": 0.90967
}

Semantic roles & 50–950 ramp

primary
#F2FBAF
secondary
#7D6FDF
accent
#00E61B
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171713
muted
#858582

Preview Lab

Preview with #F2FBAF

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

Preview Lab → · Contrast checker → · Palette generator →

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