#F2FC79#F2FC79

#F2FC79 is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 95.8% C 0.155 H 112.9°. Best body text is #000000 at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#F2FC79
RGBrgb(242, 252, 121)
HSLhsl(65, 96%, 73%)
HSVhsv(65, 52%, 99%)
CMYKcmyk(4%, 0%, 52%, 1.2%)
CIE-LABlab(95.95, -20.74, 60.75)
CIE-LCHlch(95.95, 64.19, 108.85°)
OKLaboklab(95.79% -0.0602 0.1425)
OKLCHoklch(95.79% 0.155 112.9)
XYZxyz(74.8810, 89.8799, 31.4894)
Luminance0.8988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FC79 #8379FC
analogous
#FCC479 #F2FC79 #B0FC79
triadic
#F2FC79 #79F2FC #FC79F2
tetradic
#F2FC79 #79FCC4 #8379FC #FC79B0
square
#F2FC79 #79FCC4 #8379FC #FC79B0
split-complementary
#F2FC79 #79B0FC #C479FC
monochromatic
#E3F505 #ECFB3D #F2FC79 #F8FDB5 #FCFEE1

Accessibility & contrast

On white

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

On black

18.98
#F2FC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FC79
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FC79#FFFFFF#000000##000000
##F2FC791.001.1118.9818.98
#FFFFFF1.111.0021.0021.00
#00000018.9821.001.001.00
##00000018.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF26C
Deuteranopia (green-blind)
#FFF580
Tritanopia (blue-blind)
#FFEFDF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fc79;
/* rgb */ color: rgb(242, 252, 121);
/* oklch */ color: oklch(95.8% 0.155 112.9);
Tailwind
colors: {
  custom: {
    50: '#f9fda3',
    500: '#f2fc79',
    950: '#000000',
  },
}
SCSS
$custom: #f2fc79;
$custom-light: #f9fda3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fc79",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 121
  },
  "hsl": {
    "h": 64.58,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.95786,
    "c": 0.15471,
    "h": 112.9
  },
  "luminance": 0.89879
}

Semantic roles & 50–950 ramp

primary
#F2FC79
secondary
#4C40D9
accent
#00E612
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FC79

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

Preview Lab → · Contrast checker → · Palette generator →

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