#F6F266#F6F266

#F6F266 is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 93.8% C 0.160 H 107.6°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#F6F266
RGBrgb(246, 242, 102)
HSLhsl(58, 89%, 68%)
HSVhsv(58, 59%, 96%)
CMYKcmyk(0%, 1.6%, 58.5%, 3.5%)
CIE-LABlab(93.48, -15.75, 66.30)
CIE-LCHlch(93.48, 68.14, 103.36°)
OKLaboklab(93.83% -0.0482 0.1522)
OKLCHoklch(93.83% 0.16 107.6)
XYZxyz(72.1587, 84.0585, 24.9916)
Luminance0.8406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F266 #666AF6
analogous
#F6AA66 #F6F266 #B2F666
triadic
#F6F266 #66F6F2 #F266F6
tetradic
#F6F266 #66F6AA #666AF6 #F666B2
square
#F6F266 #66F6AA #666AF6 #F666B2
split-complementary
#F6F266 #66B2F6 #AA66F6
monochromatic
#D5CF0D #F3ED2C #F6F266 #F9F7A0 #FDFCDA

Accessibility & contrast

On white

1.18
#F6F266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.81
#F6F266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F266
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F266#FFFFFF#000000##000000
##F6F2661.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE956
Deuteranopia (green-blind)
#FFEF6E
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f6f266;
/* rgb */ color: rgb(246, 242, 102);
/* oklch */ color: oklch(93.8% 0.160 107.6);
Tailwind
colors: {
  custom: {
    50: '#fcf697',
    500: '#f6f266',
    950: '#000000',
  },
}
SCSS
$custom: #f6f266;
$custom-light: #fcf697;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f266",
  "rgb": {
    "r": 246,
    "g": 242,
    "b": 102
  },
  "hsl": {
    "h": 58.333,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.93832,
    "c": 0.15967,
    "h": 107.6
  },
  "luminance": 0.84056
}

Semantic roles & 50–950 ramp

primary
#F6F266
secondary
#3136CF
accent
#06E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F6F266

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

Preview Lab → · Contrast checker → · Palette generator →

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