#F2FB79#F2FB79

#F2FB79 is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.6% C 0.154 H 112.5°. Best body text is #000000 at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#F2FB79
RGBrgb(242, 251, 121)
HSLhsl(64, 94%, 73%)
HSVhsv(64, 52%, 98%)
CMYKcmyk(3.6%, 0%, 51.8%, 1.6%)
CIE-LABlab(95.69, -20.26, 60.45)
CIE-LCHlch(95.69, 63.75, 108.53°)
OKLaboklab(95.58% -0.0588 0.1419)
OKLCHoklch(95.58% 0.154 112.5)
XYZxyz(74.5678, 89.2535, 31.3850)
Luminance0.8925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FB79 #8279FB
analogous
#FBC379 #F2FB79 #B1FB79
triadic
#F2FB79 #79F2FB #FB79F2
tetradic
#F2FB79 #79FBC3 #8279FB #FB79B1
square
#F2FB79 #79FBC3 #8279FB #FB79B1
split-complementary
#F2FB79 #79B1FB #C379FB
monochromatic
#E2F207 #ECF93E #F2FB79 #F8FDB4 #FCFEE1

Accessibility & contrast

On white

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

On black

18.85
#F2FB79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FB79
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FB79#FFFFFF#000000##000000
##F2FB791.001.1118.8518.85
#FFFFFF1.111.0021.0021.00
#00000018.8521.001.001.00
##00000018.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF16C
Deuteranopia (green-blind)
#FFF480
Tritanopia (blue-blind)
#FFEEDE
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fb79;
/* rgb */ color: rgb(242, 251, 121);
/* oklch */ color: oklch(95.6% 0.154 112.5);
Tailwind
colors: {
  custom: {
    50: '#f9fca3',
    500: '#f2fb79',
    950: '#000000',
  },
}
SCSS
$custom: #f2fb79;
$custom-light: #f9fca3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fb79",
  "rgb": {
    "r": 242,
    "g": 251,
    "b": 121
  },
  "hsl": {
    "h": 64.154,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.95578,
    "c": 0.15357,
    "h": 112.5
  },
  "luminance": 0.89252
}

Semantic roles & 50–950 ramp

primary
#F2FB79
secondary
#4B40D8
accent
#00E610
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FB79

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

Preview Lab → · Contrast checker → · Palette generator →

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