#F2FD97#F2FD97

#F2FD97 is a very light, vivid yellow. Relative luminance 0.914; OKLCH L 96.4% C 0.126 H 113.8°. Best body text is #000000 at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#F2FD97
RGBrgb(242, 253, 151)
HSLhsl(66, 96%, 79%)
HSVhsv(66, 40%, 99%)
CMYKcmyk(4.3%, 0%, 40.3%, 0.8%)
CIE-LABlab(96.56, -18.40, 47.52)
CIE-LCHlch(96.56, 50.96, 111.16°)
OKLaboklab(96.39% -0.051 0.1154)
OKLCHoklch(96.39% 0.126 113.8)
XYZxyz(77.3299, 91.3632, 42.8333)
Luminance0.9136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FD97 #A297FD
analogous
#FDD597 #F2FD97 #BFFD97
triadic
#F2FD97 #97F2FD #FD97F2
tetradic
#F2FD97 #97FDD5 #A297FD #FD97BF
square
#F2FD97 #97FDD5 #A297FD #FD97BF
split-complementary
#F2FD97 #97BFFD #D597FD
monochromatic
#E3FB1F #EAFC5B #F2FD97 #FAFED3 #FBFEE1

Accessibility & contrast

On white

1.09
#F2FD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.27
#F2FD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FD97
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FD97#FFFFFF#000000##000000
##F2FD971.001.0919.2719.27
#FFFFFF1.091.0021.0021.00
#00000019.2721.001.001.00
##00000019.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF48F
Deuteranopia (green-blind)
#FFF69C
Tritanopia (blue-blind)
#FDF2E4
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2fd97;
/* rgb */ color: rgb(242, 253, 151);
/* oklch */ color: oklch(96.4% 0.126 113.8);
Tailwind
colors: {
  custom: {
    50: '#f8feb7',
    500: '#f2fd97',
    950: '#000000',
  },
}
SCSS
$custom: #f2fd97;
$custom-light: #f8feb7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fd97",
  "rgb": {
    "r": 242,
    "g": 253,
    "b": 151
  },
  "hsl": {
    "h": 66.471,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.96389,
    "c": 0.12619,
    "h": 113.8
  },
  "luminance": 0.91362
}

Semantic roles & 50–950 ramp

primary
#F2FD97
secondary
#6859DF
accent
#00E619
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2FD97

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

Preview Lab → · Contrast checker → · Palette generator →

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