#F6F866#F6F866

#F6F866 is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.1% C 0.166 H 109.9°. Best body text is #000000 at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#F6F866
RGBrgb(246, 248, 102)
HSLhsl(61, 91%, 69%)
HSVhsv(61, 59%, 97%)
CMYKcmyk(0.8%, 0%, 58.9%, 2.7%)
CIE-LABlab(95.03, -18.66, 68.00)
CIE-LCHlch(95.03, 70.51, 105.34°)
OKLaboklab(95.07% -0.0564 0.1558)
OKLCHoklch(95.07% 0.166 109.9)
XYZxyz(73.9738, 87.6888, 25.5967)
Luminance0.8769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F866 #6866F8
analogous
#F8B166 #F6F866 #ADF866
triadic
#F6F866 #66F6F8 #F866F6
tetradic
#F6F866 #66F8B1 #6866F8 #F866AD
square
#F6F866 #66F8B1 #6866F8 #F866AD
split-complementary
#F6F866 #66ADF8 #B166F8
monochromatic
#D7DA0A #F3F52B #F6F866 #F9FBA1 #FDFDDB

Accessibility & contrast

On white

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

On black

18.54
#F6F866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F866
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F866#FFFFFF#000000##000000
##F6F8661.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE55
Deuteranopia (green-blind)
#FFF36F
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f6f866;
/* rgb */ color: rgb(246, 248, 102);
/* oklch */ color: oklch(95.1% 0.166 109.9);
Tailwind
colors: {
  custom: {
    50: '#fcfa97',
    500: '#f6f866',
    950: '#000000',
  },
}
SCSS
$custom: #f6f866;
$custom-light: #fcfa97;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f866",
  "rgb": {
    "r": 246,
    "g": 248,
    "b": 102
  },
  "hsl": {
    "h": 60.822,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.95071,
    "c": 0.16574,
    "h": 109.9
  },
  "luminance": 0.87687
}

Semantic roles & 50–950 ramp

primary
#F6F866
secondary
#3331D2
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F6F866

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

Preview Lab → · Contrast checker → · Palette generator →

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