#F6F966#F6F966

#F6F966 is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.3% C 0.167 H 110.3°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#F6F966
RGBrgb(246, 249, 102)
HSLhsl(61, 92%, 69%)
HSVhsv(61, 59%, 98%)
CMYKcmyk(1.2%, 0%, 59%, 2.4%)
CIE-LABlab(95.29, -19.14, 68.28)
CIE-LCHlch(95.29, 70.91, 105.66°)
OKLaboklab(95.28% -0.0578 0.1564)
OKLCHoklch(95.28% 0.167 110.3)
XYZxyz(74.2821, 88.3054, 25.6994)
Luminance0.8830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F966 #6966F9
analogous
#F9B266 #F6F966 #ADF966
triadic
#F6F966 #66F6F9 #F966F6
tetradic
#F6F966 #66F9B2 #6966F9 #F966AD
square
#F6F966 #66F9B2 #6966F9 #F966AD
split-complementary
#F6F966 #66ADF9 #B266F9
monochromatic
#D8DC09 #F3F72B #F6F966 #F9FBA1 #FDFEDC

Accessibility & contrast

On white

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

On black

18.66
#F6F966 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F966
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F966#FFFFFF#000000##000000
##F6F9661.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f6f966;
/* rgb */ color: rgb(246, 249, 102);
/* oklch */ color: oklch(95.3% 0.167 110.3);
Tailwind
colors: {
  custom: {
    50: '#fcfb97',
    500: '#f6f966',
    950: '#000000',
  },
}
SCSS
$custom: #f6f966;
$custom-light: #fcfb97;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f966",
  "rgb": {
    "r": 246,
    "g": 249,
    "b": 102
  },
  "hsl": {
    "h": 61.224,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.95278,
    "c": 0.16677,
    "h": 110.3
  },
  "luminance": 0.88304
}

Semantic roles & 50–950 ramp

primary
#F6F966
secondary
#3430D3
accent
#00E605
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F6F966

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

Preview Lab → · Contrast checker → · Palette generator →

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