#F6F166#F6F166

#F6F166 is a very light, vivid yellow. Relative luminance 0.835; OKLCH L 93.6% C 0.159 H 107.2°. Best body text is #000000 at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#F6F166
RGBrgb(246, 241, 102)
HSLhsl(58, 89%, 68%)
HSVhsv(58, 59%, 96%)
CMYKcmyk(0%, 2%, 58.5%, 3.5%)
CIE-LABlab(93.22, -15.26, 66.01)
CIE-LCHlch(93.22, 67.76, 103.02°)
OKLaboklab(93.63% -0.0468 0.1516)
OKLCHoklch(93.63% 0.159 107.2)
XYZxyz(71.8619, 83.4649, 24.8927)
Luminance0.8346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F166 #666BF6
analogous
#F6A966 #F6F166 #B3F666
triadic
#F6F166 #66F6F1 #F166F6
tetradic
#F6F166 #66F6A9 #666BF6 #F666B3
square
#F6F166 #66F6A9 #666BF6 #F666B3
split-complementary
#F6F166 #66B3F6 #A966F6
monochromatic
#D5CE0D #F3EC2C #F6F166 #F9F6A0 #FDFCDA

Accessibility & contrast

On white

1.19
#F6F166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.69
#F6F166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F166
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F166#FFFFFF#000000##000000
##F6F1661.001.1917.6917.69
#FFFFFF1.191.0021.0021.00
#00000017.6921.001.001.00
##00000017.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE856
Deuteranopia (green-blind)
#FFEE6E
Tritanopia (blue-blind)
#FFE3D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f6f166;
/* rgb */ color: rgb(246, 241, 102);
/* oklch */ color: oklch(93.6% 0.159 107.2);
Tailwind
colors: {
  custom: {
    50: '#fcf597',
    500: '#f6f166',
    950: '#000000',
  },
}
SCSS
$custom: #f6f166;
$custom-light: #fcf597;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f166",
  "rgb": {
    "r": 246,
    "g": 241,
    "b": 102
  },
  "hsl": {
    "h": 57.917,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.93626,
    "c": 0.15869,
    "h": 107.2
  },
  "luminance": 0.83463
}

Semantic roles & 50–950 ramp

primary
#F6F166
secondary
#3137CF
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F6F166

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

Preview Lab → · Contrast checker → · Palette generator →

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