#F2FE79#F2FE79

#F2FE79 is a very light, vivid yellow. Relative luminance 0.911; OKLCH L 96.2% C 0.157 H 113.6°. Best body text is #000000 at 19.23:1 contrast (WCAG AA passes).

Color values

HEX#F2FE79
RGBrgb(242, 254, 121)
HSLhsl(65, 99%, 74%)
HSVhsv(65, 52%, 100%)
CMYKcmyk(4.7%, 0%, 52.4%, 0.4%)
CIE-LABlab(96.47, -21.69, 61.36)
CIE-LCHlch(96.47, 65.08, 109.47°)
OKLaboklab(96.2% -0.0629 0.1438)
OKLCHoklch(96.2% 0.157 113.6)
XYZxyz(75.5124, 91.1426, 31.6998)
Luminance0.9114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FE79 #8579FE
analogous
#FEC879 #F2FE79 #AFFE79
triadic
#F2FE79 #79F2FE #FE79F2
tetradic
#F2FE79 #79FEC8 #8579FE #FE79AF
square
#F2FE79 #79FEC8 #8579FE #FE79AF
split-complementary
#F2FE79 #79AFFE #C879FE
monochromatic
#E4FB02 #ECFE3C #F2FE79 #F8FEB6 #FCFFE1

Accessibility & contrast

On white

1.09
#F2FE79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.23
#F2FE79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FE79
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FE79#FFFFFF#000000##000000
##F2FE791.001.0919.2319.23
#FFFFFF1.091.0021.0021.00
#00000019.2321.001.001.00
##00000019.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF36C
Deuteranopia (green-blind)
#FFF680
Tritanopia (blue-blind)
#FFF1E0
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2fe79;
/* rgb */ color: rgb(242, 254, 121);
/* oklch */ color: oklch(96.2% 0.157 113.6);
Tailwind
colors: {
  custom: {
    50: '#f9fea3',
    500: '#f2fe79',
    950: '#000000',
  },
}
SCSS
$custom: #f2fe79;
$custom-light: #f9fea3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fe79",
  "rgb": {
    "r": 242,
    "g": 254,
    "b": 121
  },
  "hsl": {
    "h": 65.414,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.96203,
    "c": 0.15698,
    "h": 113.6
  },
  "luminance": 0.91141
}

Semantic roles & 50–950 ramp

primary
#F2FE79
secondary
#4E3FDC
accent
#00E615
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FE79

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

Preview Lab → · Contrast checker → · Palette generator →

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