#F2FA96#F2FA96

#F2FA96 is a very light, vivid yellow. Relative luminance 0.894; OKLCH L 95.8% C 0.124 H 112.5°. Best body text is #000000 at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#F2FA96
RGBrgb(242, 250, 150)
HSLhsl(65, 91%, 78%)
HSVhsv(65, 40%, 98%)
CMYKcmyk(3.2%, 0%, 40%, 2%)
CIE-LABlab(95.77, -17.05, 47.01)
CIE-LCHlch(95.77, 50.00, 109.94°)
OKLaboklab(95.76% -0.0472 0.1142)
OKLCHoklch(95.76% 0.124 112.5)
XYZxyz(76.3094, 89.4516, 42.0942)
Luminance0.8945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA96 #9E96FA
analogous
#FAD096 #F2FA96 #C0FA96
triadic
#F2FA96 #96F2FA #FA96F2
tetradic
#F2FA96 #96FAD0 #9E96FA #FA96C0
square
#F2FA96 #96FAD0 #9E96FA #FA96C0
split-complementary
#F2FA96 #96C0FA #D096FA
monochromatic
#E4F421 #EBF75C #F2FA96 #F9FDD0 #FBFEE2

Accessibility & contrast

On white

1.11
#F2FA96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.89
#F2FA96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA96
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA96#FFFFFF#000000##000000
##F2FA961.001.1118.8918.89
#FFFFFF1.111.0021.0021.00
#00000018.8921.001.001.00
##00000018.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18E
Deuteranopia (green-blind)
#FFF49B
Tritanopia (blue-blind)
#FEEFE2
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fa96;
/* rgb */ color: rgb(242, 250, 150);
/* oklch */ color: oklch(95.8% 0.124 112.5);
Tailwind
colors: {
  custom: {
    50: '#f8fbb6',
    500: '#f2fa96',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa96;
$custom-light: #f8fbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa96",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 150
  },
  "hsl": {
    "h": 64.8,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.95755,
    "c": 0.1236,
    "h": 112.5
  },
  "luminance": 0.8945
}

Semantic roles & 50–950 ramp

primary
#F2FA96
secondary
#645ADA
accent
#00E612
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2FA96

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

Preview Lab → · Contrast checker → · Palette generator →

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