#F2FA59#F2FA59

#F2FA59 is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 95.1% C 0.178 H 112.1°. Best body text is #000000 at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#F2FA59
RGBrgb(242, 250, 89)
HSLhsl(63, 94%, 66%)
HSVhsv(63, 64%, 98%)
CMYKcmyk(3.2%, 0%, 64.4%, 2%)
CIE-LABlab(95.15, -22.02, 73.21)
CIE-LCHlch(95.15, 76.45, 106.74°)
OKLaboklab(95.06% -0.067 0.1652)
OKLCHoklch(95.06% 0.178 112.1)
XYZxyz(72.6088, 87.9714, 22.6046)
Luminance0.8797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA59 #6159FA
analogous
#FAB159 #F2FA59 #A2FA59
triadic
#F2FA59 #59F2FA #FA59F2
tetradic
#F2FA59 #59FAB1 #6159FA #FA59A2
square
#F2FA59 #59FAB1 #6159FA #FA59A2
split-complementary
#F2FA59 #59A2FA #B159FA
monochromatic
#C8D206 #EDF81E #F2FA59 #F7FC94 #FBFED0

Accessibility & contrast

On white

1.13
#F2FA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.59
#F2FA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA59
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA59#FFFFFF#000000##000000
##F2FA591.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF43
Deuteranopia (green-blind)
#FFF364
Tritanopia (blue-blind)
#FFECD9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f2fa59;
/* rgb */ color: rgb(242, 250, 89);
/* oklch */ color: oklch(95.1% 0.178 112.1);
Tailwind
colors: {
  custom: {
    50: '#fafb90',
    500: '#f2fa59',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa59;
$custom-light: #fafb90;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa59",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 89
  },
  "hsl": {
    "h": 62.981,
    "s": 94.152,
    "l": 66.471
  },
  "oklch": {
    "l": 0.9506,
    "c": 0.17823,
    "h": 112.1
  },
  "luminance": 0.8797
}

Semantic roles & 50–950 ramp

primary
#F2FA59
secondary
#322ACD
accent
#00E60B
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2FA59

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

Preview Lab → · Contrast checker → · Palette generator →

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