#F7F966#F7F966

#F7F966 is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.4% C 0.167 H 109.9°. Best body text is #000000 at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#F7F966
RGBrgb(247, 249, 102)
HSLhsl(61, 92%, 69%)
HSVhsv(61, 59%, 98%)
CMYKcmyk(0.8%, 0%, 59%, 2.4%)
CIE-LABlab(95.37, -18.74, 68.38)
CIE-LCHlch(95.37, 70.90, 105.32°)
OKLaboklab(95.36% -0.0567 0.1566)
OKLCHoklch(95.36% 0.167 109.9)
XYZxyz(74.6339, 88.4867, 25.7159)
Luminance0.8849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F966 #6866F9
analogous
#F9B266 #F7F966 #AEF966
triadic
#F7F966 #66F7F9 #F966F7
tetradic
#F7F966 #66F9B2 #6866F9 #F966AE
square
#F7F966 #66F9B2 #6866F9 #F966AE
split-complementary
#F7F966 #66AEF9 #B266F9
monochromatic
#D9DC09 #F4F72B #F7F966 #FAFBA1 #FDFEDC

Accessibility & contrast

On white

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

On black

18.70
#F7F966 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F966
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F966#FFFFFF#000000##000000
##F7F9661.001.1218.7018.70
#FFFFFF1.121.0021.0021.00
#00000018.7021.001.001.00
##00000018.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF55
Deuteranopia (green-blind)
#FFF46F
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f7f966;
/* rgb */ color: rgb(247, 249, 102);
/* oklch */ color: oklch(95.4% 0.167 109.9);
Tailwind
colors: {
  custom: {
    50: '#fdfb97',
    500: '#f7f966',
    950: '#000000',
  },
}
SCSS
$custom: #f7f966;
$custom-light: #fdfb97;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f966",
  "rgb": {
    "r": 247,
    "g": 249,
    "b": 102
  },
  "hsl": {
    "h": 60.816,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.95358,
    "c": 0.16659,
    "h": 109.9
  },
  "luminance": 0.88485
}

Semantic roles & 50–950 ramp

primary
#F7F966
secondary
#3330D3
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F966

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

Preview Lab → · Contrast checker → · Palette generator →

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