#F2FF97#F2FF97

#F2FF97 is a very light, vivid yellow. Relative luminance 0.926; OKLCH L 96.8% C 0.129 H 114.7°. Best body text is #000000 at 19.53:1 contrast (WCAG AA passes).

Color values

HEX#F2FF97
RGBrgb(242, 255, 151)
HSLhsl(68, 100%, 80%)
HSVhsv(68, 41%, 100%)
CMYKcmyk(5.1%, 0%, 40.8%, 0%)
CIE-LABlab(97.08, -19.36, 48.18)
CIE-LCHlch(97.08, 51.92, 111.89°)
OKLaboklab(96.8% -0.0537 0.1169)
OKLCHoklch(96.8% 0.129 114.7)
XYZxyz(77.9645, 92.6325, 43.0449)
Luminance0.9263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FF97 #A497FF
analogous
#FFD897 #F2FF97 #BEFF97
triadic
#F2FF97 #97F2FF #FF97F2
tetradic
#F2FF97 #97FFD8 #A497FF #FF97BE
square
#F2FF97 #97FFD8 #A497FF #FF97BE
split-complementary
#F2FF97 #97BEFF #D897FF
monochromatic
#E3FF1D #EAFF5A #F2FF97 #FAFFD4 #FBFFE0

Accessibility & contrast

On white

1.08
#F2FF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.53
#F2FF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FF97
19.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FF97#FFFFFF#000000##000000
##F2FF971.001.0819.5319.53
#FFFFFF1.081.0021.0021.00
#00000019.5321.001.001.00
##00000019.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF68F
Deuteranopia (green-blind)
#FFF89C
Tritanopia (blue-blind)
#FDF4E6
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f2ff97;
/* rgb */ color: rgb(242, 255, 151);
/* oklch */ color: oklch(96.8% 0.129 114.7);
Tailwind
colors: {
  custom: {
    50: '#f8ffb7',
    500: '#f2ff97',
    950: '#000000',
  },
}
SCSS
$custom: #f2ff97;
$custom-light: #f8ffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ff97",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 151
  },
  "hsl": {
    "h": 67.5,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.96803,
    "c": 0.12866,
    "h": 114.7
  },
  "luminance": 0.92632
}

Semantic roles & 50–950 ramp

primary
#F2FF97
secondary
#6A59E2
accent
#00E61D
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171811
muted
#858681

Preview Lab

Preview with #F2FF97

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

Preview Lab → · Contrast checker → · Palette generator →

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