#F7F962#F7F962

#F7F962 is a very light, vivid yellow. Relative luminance 0.884; OKLCH L 95.3% C 0.170 H 109.9°. Best body text is #000000 at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#F7F962
RGBrgb(247, 249, 98)
HSLhsl(61, 93%, 68%)
HSVhsv(61, 61%, 98%)
CMYKcmyk(0.8%, 0%, 60.6%, 2.4%)
CIE-LABlab(95.33, -19.00, 69.98)
CIE-LCHlch(95.33, 72.52, 105.19°)
OKLaboklab(95.32% -0.0579 0.1595)
OKLCHoklch(95.32% 0.17 109.9)
XYZxyz(74.4403, 88.4093, 24.6963)
Luminance0.8841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F962 #6462F9
analogous
#F9B062 #F7F962 #ABF962
triadic
#F7F962 #62F7F9 #F962F7
tetradic
#F7F962 #62F9B0 #6462F9 #F962AB
square
#F7F962 #62F9B0 #6462F9 #F962AB
split-complementary
#F7F962 #62ABF9 #B062F9
monochromatic
#D6D808 #F4F727 #F7F962 #FAFB9D #FDFED8

Accessibility & contrast

On white

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

On black

18.68
#F7F962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F962
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F962#FFFFFF#000000##000000
##F7F9621.001.1218.6818.68
#FFFFFF1.121.0021.0021.00
#00000018.6821.001.001.00
##00000018.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF50
Deuteranopia (green-blind)
#FFF46B
Tritanopia (blue-blind)
#FFEBD9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f7f962;
/* rgb */ color: rgb(247, 249, 98);
/* oklch */ color: oklch(95.3% 0.170 109.9);
Tailwind
colors: {
  custom: {
    50: '#fdfb95',
    500: '#f7f962',
    950: '#000000',
  },
}
SCSS
$custom: #f7f962;
$custom-light: #fdfb95;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f962",
  "rgb": {
    "r": 247,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 60.795,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.95321,
    "c": 0.16967,
    "h": 109.9
  },
  "luminance": 0.88407
}

Semantic roles & 50–950 ramp

primary
#F7F962
secondary
#2F2DD2
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F962

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

Preview Lab → · Contrast checker → · Palette generator →

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