#F2FBAB#F2FBAB

#F2FBAB is a very light, moderate yellow. Relative luminance 0.908; OKLCH L 96.3% C 0.101 H 113.5°. Best body text is #000000 at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#F2FBAB
RGBrgb(242, 251, 171)
HSLhsl(67, 91%, 83%)
HSVhsv(67, 32%, 98%)
CMYKcmyk(3.6%, 0%, 31.9%, 1.6%)
CIE-LABlab(96.33, -15.14, 37.43)
CIE-LCHlch(96.33, 40.38, 112.03°)
OKLaboklab(96.3% -0.0405 0.093)
OKLCHoklch(96.3% 0.101 113.5)
XYZxyz(78.4660, 90.8127, 51.9152)
Luminance0.9081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FBAB #B4ABFB
analogous
#FBDCAB #F2FBAB #CAFBAB
triadic
#F2FBAB #ABF2FB #FBABF2
tetradic
#F2FBAB #ABFBDC #B4ABFB #FBABCA
square
#F2FBAB #ABFBDC #B4ABFB #FBABCA
split-complementary
#F2FBAB #ABCAFB #DCABFB
monochromatic
#E0F536 #E9F871 #F2FBAB #FAFEE2 #FAFEE2

Accessibility & contrast

On white

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

On black

19.16
#F2FBAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FBAB
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FBAB#FFFFFF#000000##000000
##F2FBAB1.001.1019.1619.16
#FFFFFF1.101.0021.0021.00
#00000019.1621.001.001.00
##00000019.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2fbab;
/* rgb */ color: rgb(242, 251, 171);
/* oklch */ color: oklch(96.3% 0.101 113.5);
Tailwind
colors: {
  custom: {
    50: '#f7fcc4',
    500: '#f2fbab',
    950: '#000000',
  },
}
SCSS
$custom: #f2fbab;
$custom-light: #f7fcc4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fbab",
  "rgb": {
    "r": 242,
    "g": 251,
    "b": 171
  },
  "hsl": {
    "h": 66.75,
    "s": 90.909,
    "l": 82.745
  },
  "oklch": {
    "l": 0.96304,
    "c": 0.10143,
    "h": 113.5
  },
  "luminance": 0.90812
}

Semantic roles & 50–950 ramp

primary
#F2FBAB
secondary
#796CDE
accent
#00E61A
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171713
muted
#858582

Preview Lab

Preview with #F2FBAB

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

Preview Lab → · Contrast checker → · Palette generator →

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