#F2FC97#F2FC97

#F2FC97 is a very light, vivid yellow. Relative luminance 0.907; OKLCH L 96.2% C 0.125 H 113.4°. Best body text is #000000 at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#F2FC97
RGBrgb(242, 252, 151)
HSLhsl(66, 94%, 79%)
HSVhsv(66, 40%, 99%)
CMYKcmyk(4%, 0%, 40.1%, 1.2%)
CIE-LABlab(96.30, -17.91, 47.20)
CIE-LCHlch(96.30, 50.48, 110.78°)
OKLaboklab(96.18% -0.0496 0.1147)
OKLCHoklch(96.18% 0.125 113.4)
XYZxyz(77.0150, 90.7335, 42.7283)
Luminance0.9073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FC97 #A197FC
analogous
#FCD497 #F2FC97 #C0FC97
triadic
#F2FC97 #97F2FC #FC97F2
tetradic
#F2FC97 #97FCD4 #A197FC #FC97C0
square
#F2FC97 #97FCD4 #A197FC #FC97C0
split-complementary
#F2FC97 #97C0FC #D497FC
monochromatic
#E3F920 #EBFA5C #F2FC97 #F9FED2 #FBFEE1

Accessibility & contrast

On white

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

On black

19.15
#F2FC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FC97
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FC97#FFFFFF#000000##000000
##F2FC971.001.1019.1519.15
#FFFFFF1.101.0021.0021.00
#00000019.1521.001.001.00
##00000019.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF38F
Deuteranopia (green-blind)
#FFF69C
Tritanopia (blue-blind)
#FDF1E3
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f2fc97;
/* rgb */ color: rgb(242, 252, 151);
/* oklch */ color: oklch(96.2% 0.125 113.4);
Tailwind
colors: {
  custom: {
    50: '#f8fdb7',
    500: '#f2fc97',
    950: '#000000',
  },
}
SCSS
$custom: #f2fc97;
$custom-light: #f8fdb7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fc97",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 151
  },
  "hsl": {
    "h": 65.941,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.96183,
    "c": 0.12496,
    "h": 113.4
  },
  "luminance": 0.90732
}

Semantic roles & 50–950 ramp

primary
#F2FC97
secondary
#675ADD
accent
#00E617
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2FC97

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

Preview Lab → · Contrast checker → · Palette generator →

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