#F2FB98#F2FB98

#F2FB98 is a very light, vivid yellow. Relative luminance 0.901; OKLCH L 96.0% C 0.123 H 113.0°. Best body text is #000000 at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#F2FB98
RGBrgb(242, 251, 152)
HSLhsl(65, 93%, 79%)
HSVhsv(65, 39%, 98%)
CMYKcmyk(3.6%, 0%, 39.4%, 1.6%)
CIE-LABlab(96.05, -17.32, 46.40)
CIE-LCHlch(96.05, 49.53, 110.47°)
OKLaboklab(95.99% -0.0478 0.113)
OKLCHoklch(95.99% 0.123 113)
XYZxyz(76.7834, 90.1397, 43.0535)
Luminance0.9014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FB98 #A198FB
analogous
#FBD398 #F2FB98 #C1FB98
triadic
#F2FB98 #98F2FB #FB98F2
tetradic
#F2FB98 #98FBD3 #A198FB #FB98C1
square
#F2FB98 #98FBD3 #A198FB #FB98C1
split-complementary
#F2FB98 #98C1FB #D398FB
monochromatic
#E3F622 #EBF95D #F2FB98 #F9FDD3 #FBFEE2

Accessibility & contrast

On white

1.10
#F2FB98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.03
#F2FB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FB98
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FB98#FFFFFF#000000##000000
##F2FB981.001.1019.0319.03
#FFFFFF1.101.0021.0021.00
#00000019.0321.001.001.00
##00000019.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF290
Deuteranopia (green-blind)
#FFF59D
Tritanopia (blue-blind)
#FDF0E3
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f2fb98;
/* rgb */ color: rgb(242, 251, 152);
/* oklch */ color: oklch(96.0% 0.123 113.0);
Tailwind
colors: {
  custom: {
    50: '#f8fcb7',
    500: '#f2fb98',
    950: '#000000',
  },
}
SCSS
$custom: #f2fb98;
$custom-light: #f8fcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fb98",
  "rgb": {
    "r": 242,
    "g": 251,
    "b": 152
  },
  "hsl": {
    "h": 65.455,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.95992,
    "c": 0.12266,
    "h": 113
  },
  "luminance": 0.90139
}

Semantic roles & 50–950 ramp

primary
#F2FB98
secondary
#675BDC
accent
#00E615
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2FB98

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

Preview Lab → · Contrast checker → · Palette generator →

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