#F7F976#F7F976

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

Color values

HEX#F7F976
RGBrgb(247, 249, 118)
HSLhsl(61, 92%, 72%)
HSVhsv(61, 53%, 98%)
CMYKcmyk(0.8%, 0%, 52.6%, 2.4%)
CIE-LABlab(95.51, -17.58, 61.68)
CIE-LCHlch(95.51, 64.14, 105.91°)
OKLaboklab(95.52% -0.0518 0.1441)
OKLCHoklch(95.52% 0.153 109.8)
XYZxyz(75.5053, 88.8353, 30.3055)
Luminance0.8883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F976 #7876F9
analogous
#F9BA76 #F7F976 #B6F976
triadic
#F7F976 #76F7F9 #F976F7
tetradic
#F7F976 #76F9BA #7876F9 #F976B6
square
#F7F976 #76F9BA #7876F9 #F976B6
split-complementary
#F7F976 #76B6F9 #BA76F9
monochromatic
#E7EA0A #F4F63B #F7F976 #FAFCB1 #FDFEE2

Accessibility & contrast

On white

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

On black

18.77
#F7F976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F976
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F976#FFFFFF#000000##000000
##F7F9761.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF069
Deuteranopia (green-blind)
#FFF47D
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f7f976;
/* rgb */ color: rgb(247, 249, 118);
/* oklch */ color: oklch(95.5% 0.153 109.8);
Tailwind
colors: {
  custom: {
    50: '#fcfba1',
    500: '#f7f976',
    950: '#000000',
  },
}
SCSS
$custom: #f7f976;
$custom-light: #fcfba1;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f976",
  "rgb": {
    "r": 247,
    "g": 249,
    "b": 118
  },
  "hsl": {
    "h": 60.916,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.95521,
    "c": 0.15317,
    "h": 109.8
  },
  "luminance": 0.88834
}

Semantic roles & 50–950 ramp

primary
#F7F976
secondary
#413ED5
accent
#00E604
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F976

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

Preview Lab → · Contrast checker → · Palette generator →

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