#F7F973#F7F973

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

Color values

HEX#F7F973
RGBrgb(247, 249, 115)
HSLhsl(61, 92%, 71%)
HSVhsv(61, 54%, 98%)
CMYKcmyk(0.8%, 0%, 53.8%, 2.4%)
CIE-LABlab(95.48, -17.81, 62.97)
CIE-LCHlch(95.48, 65.44, 105.79°)
OKLaboklab(95.49% -0.0528 0.1466)
OKLCHoklch(95.49% 0.156 109.8)
XYZxyz(75.3299, 88.7651, 29.3815)
Luminance0.8876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F973 #7573F9
analogous
#F9B873 #F7F973 #B4F973
triadic
#F7F973 #73F7F9 #F973F7
tetradic
#F7F973 #73F9B8 #7573F9 #F973B4
square
#F7F973 #73F9B8 #7573F9 #F973B4
split-complementary
#F7F973 #73B4F9 #B873F9
monochromatic
#E4E80A #F4F638 #F7F973 #FAFCAE #FDFEE2

Accessibility & contrast

On white

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

On black

18.75
#F7F973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F973
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F973#FFFFFF#000000##000000
##F7F9731.001.1218.7518.75
#FFFFFF1.121.0021.0021.00
#00000018.7521.001.001.00
##00000018.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f973;
/* rgb */ color: rgb(247, 249, 115);
/* oklch */ color: oklch(95.5% 0.156 109.8);
Tailwind
colors: {
  custom: {
    50: '#fcfb9f',
    500: '#f7f973',
    950: '#000000',
  },
}
SCSS
$custom: #f7f973;
$custom-light: #fcfb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f973",
  "rgb": {
    "r": 247,
    "g": 249,
    "b": 115
  },
  "hsl": {
    "h": 60.896,
    "s": 91.781,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95488,
    "c": 0.15582,
    "h": 109.8
  },
  "luminance": 0.88763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7F973

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

Preview Lab → · Contrast checker → · Palette generator →

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