#FFF686#FFF686

#FFF686 is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.7% C 0.134 H 104.6°. Best body text is #000000 at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#FFF686
RGBrgb(255, 246, 134)
HSLhsl(56, 100%, 76%)
HSVhsv(56, 47%, 100%)
CMYKcmyk(0%, 3.5%, 47.5%, 0%)
CIE-LABlab(95.54, -11.64, 54.56)
CIE-LCHlch(95.54, 55.79, 102.05°)
OKLaboklab(95.75% -0.0337 0.1299)
OKLCHoklch(95.75% 0.134 104.6)
XYZxyz(78.5008, 88.8951, 35.5729)
Luminance0.8889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF686 #868FFF
analogous
#FFBA86 #FFF686 #CCFF86
triadic
#FFF686 #86FFF6 #F686FF
tetradic
#FFF686 #86FFBA #868FFF #FF86CC
square
#FFF686 #86FFBA #868FFF #FF86CC
split-complementary
#FFF686 #86CCFF #BA86FF
monochromatic
#FFED0C #FFF149 #FFF686 #FFFBC3 #FFFDE0

Accessibility & contrast

On white

1.12
#FFF686 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.78
#FFF686 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF686
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF686#FFFFFF#000000##000000
##FFF6861.001.1218.7818.78
#FFFFFF1.121.0021.0021.00
#00000018.7821.001.001.00
##00000018.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF7C
Deuteranopia (green-blind)
#FFF58B
Tritanopia (blue-blind)
#FFE9DC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fff686;
/* rgb */ color: rgb(255, 246, 134);
/* oklch */ color: oklch(95.7% 0.134 104.6);
Tailwind
colors: {
  custom: {
    50: '#fff9ab',
    500: '#fff686',
    950: '#000000',
  },
}
SCSS
$custom: #fff686;
$custom-light: #fff9ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fff686",
  "rgb": {
    "r": 255,
    "g": 246,
    "b": 134
  },
  "hsl": {
    "h": 55.537,
    "s": 100,
    "l": 76.275
  },
  "oklch": {
    "l": 0.95748,
    "c": 0.13424,
    "h": 104.6
  },
  "luminance": 0.88893
}

Semantic roles & 50–950 ramp

primary
#FFF686
secondary
#4A55DF
accent
#11E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFF686

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

Preview Lab → · Contrast checker → · Palette generator →

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