#F2FF98#F2FF98

#F2FF98 is a very light, vivid yellow. Relative luminance 0.927; OKLCH L 96.8% C 0.128 H 114.7°. Best body text is #000000 at 19.53:1 contrast (WCAG AA passes).

Color values

HEX#F2FF98
RGBrgb(242, 255, 152)
HSLhsl(68, 100%, 80%)
HSVhsv(68, 40%, 100%)
CMYKcmyk(5.1%, 0%, 40.4%, 0%)
CIE-LABlab(97.09, -19.25, 47.71)
CIE-LCHlch(97.09, 51.45, 111.98°)
OKLaboklab(96.82% -0.0533 0.1159)
OKLCHoklch(96.82% 0.128 114.7)
XYZxyz(78.0461, 92.6652, 43.4744)
Luminance0.9266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FF98 #A598FF
analogous
#FFD998 #F2FF98 #BEFF98
triadic
#F2FF98 #98F2FF #FF98F2
tetradic
#F2FF98 #98FFD9 #A598FF #FF98BE
square
#F2FF98 #98FFD9 #A598FF #FF98BE
split-complementary
#F2FF98 #98BEFF #D998FF
monochromatic
#E3FF1E #EAFF5B #F2FF98 #FAFFD5 #FBFFE0

Accessibility & contrast

On white

1.08
#F2FF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.53
#F2FF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FF98
19.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FF98#FFFFFF#000000##000000
##F2FF981.001.0819.5319.53
#FFFFFF1.081.0021.0021.00
#00000019.5321.001.001.00
##00000019.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF690
Deuteranopia (green-blind)
#FFF89D
Tritanopia (blue-blind)
#FDF4E6
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f2ff98;
/* rgb */ color: rgb(242, 255, 152);
/* oklch */ color: oklch(96.8% 0.128 114.7);
Tailwind
colors: {
  custom: {
    50: '#f8ffb8',
    500: '#f2ff98',
    950: '#000000',
  },
}
SCSS
$custom: #f2ff98;
$custom-light: #f8ffb8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ff98",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 152
  },
  "hsl": {
    "h": 67.573,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.96818,
    "c": 0.1276,
    "h": 114.7
  },
  "luminance": 0.92664
}

Semantic roles & 50–950 ramp

primary
#F2FF98
secondary
#6B59E2
accent
#00E61D
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171811
muted
#858681

Preview Lab

Preview with #F2FF98

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

Preview Lab → · Contrast checker → · Palette generator →

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