#F2FA58#F2FA58

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

Color values

HEX#F2FA58
RGBrgb(242, 250, 88)
HSLhsl(63, 94%, 66%)
HSVhsv(63, 65%, 98%)
CMYKcmyk(3.2%, 0%, 64.8%, 2%)
CIE-LABlab(95.14, -22.07, 73.58)
CIE-LCHlch(95.14, 76.82, 106.70°)
OKLaboklab(95.05% -0.0672 0.1658)
OKLCHoklch(95.05% 0.179 112.1)
XYZxyz(72.5671, 87.9547, 22.3849)
Luminance0.8795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA58 #6058FA
analogous
#FAB158 #F2FA58 #A1FA58
triadic
#F2FA58 #58F2FA #FA58F2
tetradic
#F2FA58 #58FAB1 #6058FA #FA58A1
square
#F2FA58 #58FAB1 #6058FA #FA58A1
split-complementary
#F2FA58 #58A1FA #B158FA
monochromatic
#C7D106 #EDF81D #F2FA58 #F7FC93 #FBFECF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2FA58#FFFFFF#000000##000000
##F2FA581.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)
#FFEF41
Deuteranopia (green-blind)
#FFF363
Tritanopia (blue-blind)
#FFEBD9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f2fa58;
/* rgb */ color: rgb(242, 250, 88);
/* oklch */ color: oklch(95.1% 0.179 112.1);
Tailwind
colors: {
  custom: {
    50: '#fafb8f',
    500: '#f2fa58',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa58;
$custom-light: #fafb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa58",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 88
  },
  "hsl": {
    "h": 62.963,
    "s": 94.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.95052,
    "c": 0.17892,
    "h": 112.1
  },
  "luminance": 0.87953
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2FA58

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

Preview Lab → · Contrast checker → · Palette generator →

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