#F7FE97#F7FE97

#F7FE97 is a very light, vivid yellow. Relative luminance 0.929; OKLCH L 97.0% C 0.126 H 111.9°. Best body text is #000000 at 19.58:1 contrast (WCAG AA passes).

Color values

HEX#F7FE97
RGBrgb(247, 254, 151)
HSLhsl(64, 98%, 79%)
HSVhsv(64, 41%, 100%)
CMYKcmyk(2.8%, 0%, 40.6%, 0.4%)
CIE-LABlab(97.18, -16.99, 48.39)
CIE-LCHlch(97.18, 51.28, 109.35°)
OKLaboklab(96.98% -0.0472 0.1174)
OKLCHoklch(96.98% 0.126 111.9)
XYZxyz(79.3864, 92.8934, 43.0204)
Luminance0.9289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7FE97 #9E97FE
analogous
#FED297 #F7FE97 #C4FE97
triadic
#F7FE97 #97F7FE #FE97F7
tetradic
#F7FE97 #97FED2 #9E97FE #FE97C4
square
#F7FE97 #97FED2 #9E97FE #FE97C4
split-complementary
#F7FE97 #97C4FE #D297FE
monochromatic
#EEFD1E #F2FD5A #F7FE97 #FCFFD4 #FDFFE1

Accessibility & contrast

On white

1.07
#F7FE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.58
#F7FE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7FE97
19.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7FE97#FFFFFF#000000##000000
##F7FE971.001.0719.5819.58
#FFFFFF1.071.0021.0021.00
#00000019.5821.001.001.00
##00000019.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF58F
Deuteranopia (green-blind)
#FFF89C
Tritanopia (blue-blind)
#FFF3E5
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f7fe97;
/* rgb */ color: rgb(247, 254, 151);
/* oklch */ color: oklch(97.0% 0.126 111.9);
Tailwind
colors: {
  custom: {
    50: '#fbfeb7',
    500: '#f7fe97',
    950: '#000000',
  },
}
SCSS
$custom: #f7fe97;
$custom-light: #fbfeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#f7fe97",
  "rgb": {
    "r": 247,
    "g": 254,
    "b": 151
  },
  "hsl": {
    "h": 64.078,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.96978,
    "c": 0.12647,
    "h": 111.9
  },
  "luminance": 0.92892
}

Semantic roles & 50–950 ramp

primary
#F7FE97
secondary
#6259E0
accent
#00E610
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F7FE97

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

Preview Lab → · Contrast checker → · Palette generator →

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