#F2FF96#F2FF96

#F2FF96 is a very light, vivid yellow. Relative luminance 0.926; OKLCH L 96.8% C 0.130 H 114.6°. Best body text is #000000 at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#F2FF96
RGBrgb(242, 255, 150)
HSLhsl(67, 100%, 79%)
HSVhsv(67, 41%, 100%)
CMYKcmyk(5.1%, 0%, 41.2%, 0%)
CIE-LABlab(97.07, -19.46, 48.64)
CIE-LCHlch(97.07, 52.39, 111.81°)
OKLaboklab(96.79% -0.0541 0.1179)
OKLCHoklch(96.79% 0.13 114.6)
XYZxyz(77.8837, 92.6002, 42.6190)
Luminance0.9260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FF96 #A396FF
analogous
#FFD896 #F2FF96 #BDFF96
triadic
#F2FF96 #96F2FF #FF96F2
tetradic
#F2FF96 #96FFD8 #A396FF #FF96BD
square
#F2FF96 #96FFD8 #A396FF #FF96BD
split-complementary
#F2FF96 #96BDFF #D896FF
monochromatic
#E3FF1C #EAFF59 #F2FF96 #FAFFD3 #FBFFE0

Accessibility & contrast

On white

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

On black

19.52
#F2FF96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FF96
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FF96#FFFFFF#000000##000000
##F2FF961.001.0819.5219.52
#FFFFFF1.081.0021.0021.00
#00000019.5221.001.001.00
##00000019.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ff96;
/* rgb */ color: rgb(242, 255, 150);
/* oklch */ color: oklch(96.8% 0.130 114.6);
Tailwind
colors: {
  custom: {
    50: '#f8ffb6',
    500: '#f2ff96',
    950: '#000000',
  },
}
SCSS
$custom: #f2ff96;
$custom-light: #f8ffb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ff96",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 150
  },
  "hsl": {
    "h": 67.429,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.96789,
    "c": 0.12972,
    "h": 114.6
  },
  "luminance": 0.92599
}

Semantic roles & 50–950 ramp

primary
#F2FF96
secondary
#6958E1
accent
#00E61C
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171811
muted
#858681

Preview Lab

Preview with #F2FF96

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

Preview Lab → · Contrast checker → · Palette generator →

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