#F2FA79#F2FA79

#F2FA79 is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.4% C 0.152 H 112.2°. Best body text is #000000 at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#F2FA79
RGBrgb(242, 250, 121)
HSLhsl(64, 93%, 73%)
HSVhsv(64, 52%, 98%)
CMYKcmyk(3.2%, 0%, 51.6%, 2%)
CIE-LABlab(95.43, -19.78, 60.14)
CIE-LCHlch(95.43, 63.31, 108.20°)
OKLaboklab(95.37% -0.0575 0.1412)
OKLCHoklch(95.37% 0.152 112.2)
XYZxyz(74.2563, 88.6304, 31.2811)
Luminance0.8863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA79 #8179FA
analogous
#FAC179 #F2FA79 #B1FA79
triadic
#F2FA79 #79F2FA #FA79F2
tetradic
#F2FA79 #79FAC1 #8179FA #FA79B1
square
#F2FA79 #79FAC1 #8179FA #FA79B1
split-complementary
#F2FA79 #79B1FA #C179FA
monochromatic
#E1F009 #ECF83E #F2FA79 #F8FCB4 #FCFEE2

Accessibility & contrast

On white

1.12
#F2FA79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.73
#F2FA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA79
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA79#FFFFFF#000000##000000
##F2FA791.001.1218.7318.73
#FFFFFF1.121.0021.0021.00
#00000018.7321.001.001.00
##00000018.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF06D
Deuteranopia (green-blind)
#FFF480
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fa79;
/* rgb */ color: rgb(242, 250, 121);
/* oklch */ color: oklch(95.4% 0.152 112.2);
Tailwind
colors: {
  custom: {
    50: '#f9fba3',
    500: '#f2fa79',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa79;
$custom-light: #f9fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa79",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 121
  },
  "hsl": {
    "h": 63.721,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.9537,
    "c": 0.15246,
    "h": 112.2
  },
  "luminance": 0.88629
}

Semantic roles & 50–950 ramp

primary
#F2FA79
secondary
#4A41D7
accent
#00E60E
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FA79

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

Preview Lab → · Contrast checker → · Palette generator →

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