#F7F971#F7F971

#F7F971 is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.5% C 0.158 H 109.8°. Best body text is #000000 at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#F7F971
RGBrgb(247, 249, 113)
HSLhsl(61, 92%, 71%)
HSVhsv(61, 55%, 98%)
CMYKcmyk(0.8%, 0%, 54.6%, 2.4%)
CIE-LABlab(95.46, -17.96, 63.82)
CIE-LCHlch(95.46, 66.30, 105.72°)
OKLaboklab(95.47% -0.0534 0.1482)
OKLCHoklch(95.47% 0.158 109.8)
XYZxyz(75.2160, 88.7196, 28.7820)
Luminance0.8872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F971 #7371F9
analogous
#F9B771 #F7F971 #B3F971
triadic
#F7F971 #71F7F9 #F971F7
tetradic
#F7F971 #71F9B7 #7371F9 #F971B3
square
#F7F971 #71F9B7 #7371F9 #F971B3
split-complementary
#F7F971 #71B3F9 #B771F9
monochromatic
#E3E60A #F4F736 #F7F971 #FAFBAC #FDFEE2

Accessibility & contrast

On white

1.12
#F7F971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.74
#F7F971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F971
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F971#FFFFFF#000000##000000
##F7F9711.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF063
Deuteranopia (green-blind)
#FFF479
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f7f971;
/* rgb */ color: rgb(247, 249, 113);
/* oklch */ color: oklch(95.5% 0.158 109.8);
Tailwind
colors: {
  custom: {
    50: '#fcfb9e',
    500: '#f7f971',
    950: '#000000',
  },
}
SCSS
$custom: #f7f971;
$custom-light: #fcfb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f971",
  "rgb": {
    "r": 247,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 60.882,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.95467,
    "c": 0.15755,
    "h": 109.8
  },
  "luminance": 0.88718
}

Semantic roles & 50–950 ramp

primary
#F7F971
secondary
#3C3AD4
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F971

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

Preview Lab → · Contrast checker → · Palette generator →

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