#F2FA80#F2FA80

#F2FA80 is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.5% C 0.146 H 112.2°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#F2FA80
RGBrgb(242, 250, 128)
HSLhsl(64, 92%, 74%)
HSVhsv(64, 49%, 98%)
CMYKcmyk(3.2%, 0%, 48.8%, 2%)
CIE-LABlab(95.50, -19.18, 57.06)
CIE-LCHlch(95.50, 60.19, 108.58°)
OKLaboklab(95.45% -0.0551 0.1351)
OKLCHoklch(95.45% 0.146 112.2)
XYZxyz(74.7012, 88.8083, 33.6245)
Luminance0.8881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA80 #8880FA
analogous
#FAC580 #F2FA80 #B5FA80
triadic
#F2FA80 #80F2FA #FA80F2
tetradic
#F2FA80 #80FAC5 #8880FA #FA80B5
square
#F2FA80 #80FAC5 #8880FA #FA80B5
split-complementary
#F2FA80 #80B5FA #C580FA
monochromatic
#E6F50A #ECF845 #F2FA80 #F8FCBB #FCFEE2

Accessibility & contrast

On white

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

On black

18.76
#F2FA80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA80
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA80#FFFFFF#000000##000000
##F2FA801.001.1218.7618.76
#FFFFFF1.121.0021.0021.00
#00000018.7621.001.001.00
##00000018.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF075
Deuteranopia (green-blind)
#FFF486
Tritanopia (blue-blind)
#FFEEDE
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fa80;
/* rgb */ color: rgb(242, 250, 128);
/* oklch */ color: oklch(95.5% 0.146 112.2);
Tailwind
colors: {
  custom: {
    50: '#f8fba7',
    500: '#f2fa80',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa80;
$custom-light: #f8fba7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa80",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 128
  },
  "hsl": {
    "h": 63.934,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.95454,
    "c": 0.14592,
    "h": 112.2
  },
  "luminance": 0.88807
}

Semantic roles & 50–950 ramp

primary
#F2FA80
secondary
#5047D7
accent
#00E60F
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2FA80

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

Preview Lab → · Contrast checker → · Palette generator →

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