#F7FD97#F7FD97

#F7FD97 is a very light, vivid yellow. Relative luminance 0.923; OKLCH L 96.8% C 0.125 H 111.4°. Best body text is #000000 at 19.45:1 contrast (WCAG AA passes).

Color values

HEX#F7FD97
RGBrgb(247, 253, 151)
HSLhsl(64, 96%, 79%)
HSVhsv(64, 40%, 99%)
CMYKcmyk(2.4%, 0%, 40.3%, 0.8%)
CIE-LABlab(96.93, -16.50, 48.06)
CIE-LCHlch(96.93, 50.82, 108.95°)
OKLaboklab(96.77% -0.0458 0.1166)
OKLCHoklch(96.77% 0.125 111.4)
XYZxyz(79.0699, 92.2604, 42.9149)
Luminance0.9226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7FD97 #9D97FD
analogous
#FDD097 #F7FD97 #C4FD97
triadic
#F7FD97 #97F7FD #FD97F7
tetradic
#F7FD97 #97FDD0 #9D97FD #FD97C4
square
#F7FD97 #97FDD0 #9D97FD #FD97C4
split-complementary
#F7FD97 #97C4FD #D097FD
monochromatic
#EEFB1F #F2FC5B #F7FD97 #FCFED3 #FDFEE1

Accessibility & contrast

On white

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

On black

19.45
#F7FD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7FD97
19.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7FD97#FFFFFF#000000##000000
##F7FD971.001.0819.4519.45
#FFFFFF1.081.0021.0021.00
#00000019.4521.001.001.00
##00000019.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7fd97;
/* rgb */ color: rgb(247, 253, 151);
/* oklch */ color: oklch(96.8% 0.125 111.4);
Tailwind
colors: {
  custom: {
    50: '#fbfeb7',
    500: '#f7fd97',
    950: '#000000',
  },
}
SCSS
$custom: #f7fd97;
$custom-light: #fbfeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#f7fd97",
  "rgb": {
    "r": 247,
    "g": 253,
    "b": 151
  },
  "hsl": {
    "h": 63.529,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.96773,
    "c": 0.12528,
    "h": 111.4
  },
  "luminance": 0.92259
}

Semantic roles & 50–950 ramp

primary
#F7FD97
secondary
#6159DF
accent
#00E60D
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F7FD97

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

Preview Lab → · Contrast checker → · Palette generator →

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