#F6F962#F6F962

#F6F962 is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.2% C 0.170 H 110.3°. Best body text is #000000 at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#F6F962
RGBrgb(246, 249, 98)
HSLhsl(61, 93%, 68%)
HSVhsv(61, 61%, 98%)
CMYKcmyk(1.2%, 0%, 60.6%, 2.4%)
CIE-LABlab(95.26, -19.40, 69.88)
CIE-LCHlch(95.26, 72.52, 105.51°)
OKLaboklab(95.24% -0.0589 0.1593)
OKLCHoklch(95.24% 0.17 110.3)
XYZxyz(74.0885, 88.2279, 24.6798)
Luminance0.8823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F962 #6562F9
analogous
#F9B062 #F6F962 #AAF962
triadic
#F6F962 #62F6F9 #F962F6
tetradic
#F6F962 #62F9B0 #6562F9 #F962AA
square
#F6F962 #62F9B0 #6562F9 #F962AA
split-complementary
#F6F962 #62AAF9 #B062F9
monochromatic
#D4D808 #F3F727 #F6F962 #F9FB9D #FDFED8

Accessibility & contrast

On white

1.13
#F6F962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.65
#F6F962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F962
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F962#FFFFFF#000000##000000
##F6F9621.001.1318.6518.65
#FFFFFF1.131.0021.0021.00
#00000018.6521.001.001.00
##00000018.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f6f962;
/* rgb */ color: rgb(246, 249, 98);
/* oklch */ color: oklch(95.2% 0.170 110.3);
Tailwind
colors: {
  custom: {
    50: '#fcfb95',
    500: '#f6f962',
    950: '#000000',
  },
}
SCSS
$custom: #f6f962;
$custom-light: #fcfb95;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f962",
  "rgb": {
    "r": 246,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 61.192,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.95242,
    "c": 0.16986,
    "h": 110.3
  },
  "luminance": 0.88226
}

Semantic roles & 50–950 ramp

primary
#F6F962
secondary
#302DD2
accent
#00E605
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F6F962

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

Preview Lab → · Contrast checker → · Palette generator →

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