#F2FC81#F2FC81

#F2FC81 is a very light, vivid yellow. Relative luminance 0.901; OKLCH L 95.9% C 0.147 H 113.0°. Best body text is #000000 at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#F2FC81
RGBrgb(242, 252, 129)
HSLhsl(65, 95%, 75%)
HSVhsv(65, 49%, 99%)
CMYKcmyk(4%, 0%, 48.8%, 1.2%)
CIE-LABlab(96.03, -20.05, 57.23)
CIE-LCHlch(96.03, 60.64, 109.31°)
OKLaboklab(95.88% -0.0575 0.1356)
OKLCHoklch(95.88% 0.147 113)
XYZxyz(75.3921, 90.0843, 34.1811)
Luminance0.9008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FC81 #8B81FC
analogous
#FCC981 #F2FC81 #B5FC81
triadic
#F2FC81 #81F2FC #FC81F2
tetradic
#F2FC81 #81FCC9 #8B81FC #FC81B5
square
#F2FC81 #81FCC9 #8B81FC #FC81B5
split-complementary
#F2FC81 #81B5FC #C981FC
monochromatic
#E6F909 #ECFB45 #F2FC81 #F8FDBD #FCFEE1

Accessibility & contrast

On white

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

On black

19.02
#F2FC81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FC81
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FC81#FFFFFF#000000##000000
##F2FC811.001.1019.0219.02
#FFFFFF1.101.0021.0021.00
#00000019.0221.001.001.00
##00000019.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF276
Deuteranopia (green-blind)
#FFF587
Tritanopia (blue-blind)
#FFF0E0
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f2fc81;
/* rgb */ color: rgb(242, 252, 129);
/* oklch */ color: oklch(95.9% 0.147 113.0);
Tailwind
colors: {
  custom: {
    50: '#f8fda8',
    500: '#f2fc81',
    950: '#000000',
  },
}
SCSS
$custom: #f2fc81;
$custom-light: #f8fda8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fc81",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 129
  },
  "hsl": {
    "h": 64.878,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.95882,
    "c": 0.14726,
    "h": 113
  },
  "luminance": 0.90083
}

Semantic roles & 50–950 ramp

primary
#F2FC81
secondary
#5347DA
accent
#00E613
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2FC81

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

Preview Lab → · Contrast checker → · Palette generator →

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