#F2FA99#F2FA99

#F2FA99 is a very light, vivid yellow. Relative luminance 0.895; OKLCH L 95.8% C 0.120 H 112.5°. Best body text is #000000 at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#F2FA99
RGBrgb(242, 250, 153)
HSLhsl(65, 91%, 79%)
HSVhsv(65, 39%, 98%)
CMYKcmyk(3.2%, 0%, 38.8%, 2%)
CIE-LABlab(95.81, -16.73, 45.61)
CIE-LCHlch(95.81, 48.58, 110.15°)
OKLaboklab(95.8% -0.0461 0.1112)
OKLCHoklch(95.8% 0.12 112.5)
XYZxyz(76.5541, 89.5495, 43.3828)
Luminance0.8955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA99 #A199FA
analogous
#FAD299 #F2FA99 #C2FA99
triadic
#F2FA99 #99F2FA #FA99F2
tetradic
#F2FA99 #99FAD2 #A199FA #FA99C2
square
#F2FA99 #99FAD2 #A199FA #FA99C2
split-complementary
#F2FA99 #99C2FA #D299FA
monochromatic
#E3F424 #EBF75F #F2FA99 #F9FDD3 #FBFEE2

Accessibility & contrast

On white

1.11
#F2FA99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.91
#F2FA99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA99
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA99#FFFFFF#000000##000000
##F2FA991.001.1118.9118.91
#FFFFFF1.111.0021.0021.00
#00000018.9121.001.001.00
##00000018.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF292
Deuteranopia (green-blind)
#FFF49D
Tritanopia (blue-blind)
#FDEFE2
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fa99;
/* rgb */ color: rgb(242, 250, 153);
/* oklch */ color: oklch(95.8% 0.120 112.5);
Tailwind
colors: {
  custom: {
    50: '#f7fbb8',
    500: '#f2fa99',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa99;
$custom-light: #f7fbb8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa99",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 153
  },
  "hsl": {
    "h": 64.948,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.95801,
    "c": 0.12036,
    "h": 112.5
  },
  "luminance": 0.89548
}

Semantic roles & 50–950 ramp

primary
#F2FA99
secondary
#675DDB
accent
#00E613
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2FA99

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

Preview Lab → · Contrast checker → · Palette generator →

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