#F6F286#F6F286

#F6F286 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.2% C 0.131 H 106.8°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#F6F286
RGBrgb(246, 242, 134)
HSLhsl(58, 86%, 75%)
HSVhsv(58, 46%, 96%)
CMYKcmyk(0%, 1.6%, 45.5%, 3.5%)
CIE-LABlab(93.81, -13.19, 52.29)
CIE-LCHlch(93.81, 53.93, 104.16°)
OKLaboklab(94.2% -0.0377 0.125)
OKLCHoklch(94.2% 0.131 106.8)
XYZxyz(74.0628, 84.8202, 35.0201)
Luminance0.8482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F286 #868AF6
analogous
#F6BA86 #F6F286 #C2F686
triadic
#F6F286 #86F6F2 #F286F6
tetradic
#F6F286 #86F6BA #868AF6 #F686C2
square
#F6F286 #86F6BA #868AF6 #F686C2
split-complementary
#F6F286 #86C2F6 #BA86F6
monochromatic
#EEE614 #F2EC4D #F6F286 #FAF8BF #FDFCE3

Accessibility & contrast

On white

1.17
#F6F286 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.96
#F6F286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F286
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F286#FFFFFF#000000##000000
##F6F2861.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7D
Deuteranopia (green-blind)
#FFEF8B
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f6f286;
/* rgb */ color: rgb(246, 242, 134);
/* oklch */ color: oklch(94.2% 0.131 106.8);
Tailwind
colors: {
  custom: {
    50: '#fbf6ab',
    500: '#f6f286',
    950: '#000000',
  },
}
SCSS
$custom: #f6f286;
$custom-light: #fbf6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f286",
  "rgb": {
    "r": 246,
    "g": 242,
    "b": 134
  },
  "hsl": {
    "h": 57.857,
    "s": 86.154,
    "l": 74.51
  },
  "oklch": {
    "l": 0.94201,
    "c": 0.13059,
    "h": 106.8
  },
  "luminance": 0.84818
}

Semantic roles & 50–950 ramp

primary
#F6F286
secondary
#4D52D3
accent
#0BE303
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F6F286

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

Preview Lab → · Contrast checker → · Palette generator →

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