#F2FE98#F2FE98

#F2FE98 is a very light, vivid yellow. Relative luminance 0.920; OKLCH L 96.6% C 0.126 H 114.3°. Best body text is #000000 at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#F2FE98
RGBrgb(242, 254, 152)
HSLhsl(67, 98%, 80%)
HSVhsv(67, 40%, 100%)
CMYKcmyk(4.7%, 0%, 40.2%, 0.4%)
CIE-LABlab(96.83, -18.77, 47.39)
CIE-LCHlch(96.83, 50.97, 111.61°)
OKLaboklab(96.61% -0.052 0.1152)
OKLCHoklch(96.61% 0.126 114.3)
XYZxyz(77.7279, 92.0288, 43.3683)
Luminance0.9203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FE98 #A498FE
analogous
#FED798 #F2FE98 #BFFE98
triadic
#F2FE98 #98F2FE #FE98F2
tetradic
#F2FE98 #98FED7 #A498FE #FE98BF
square
#F2FE98 #98FED7 #A498FE #FE98BF
split-complementary
#F2FE98 #98BFFE #D798FE
monochromatic
#E3FD1F #EAFD5B #F2FE98 #FAFFD5 #FBFFE1

Accessibility & contrast

On white

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

On black

19.41
#F2FE98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FE98
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FE98#FFFFFF#000000##000000
##F2FE981.001.0819.4119.41
#FFFFFF1.081.0021.0021.00
#00000019.4121.001.001.00
##00000019.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF590
Deuteranopia (green-blind)
#FFF79D
Tritanopia (blue-blind)
#FDF3E5
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f2fe98;
/* rgb */ color: rgb(242, 254, 152);
/* oklch */ color: oklch(96.6% 0.126 114.3);
Tailwind
colors: {
  custom: {
    50: '#f8feb8',
    500: '#f2fe98',
    950: '#000000',
  },
}
SCSS
$custom: #f2fe98;
$custom-light: #f8feb8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fe98",
  "rgb": {
    "r": 242,
    "g": 254,
    "b": 152
  },
  "hsl": {
    "h": 67.059,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.96611,
    "c": 0.12636,
    "h": 114.3
  },
  "luminance": 0.92028
}

Semantic roles & 50–950 ramp

primary
#F2FE98
secondary
#6A5AE0
accent
#00E61B
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2FE98

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

Preview Lab → · Contrast checker → · Palette generator →

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