#FEF686#FEF686

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

Color values

HEX#FEF686
RGBrgb(254, 246, 134)
HSLhsl(56, 98%, 76%)
HSVhsv(56, 47%, 100%)
CMYKcmyk(0%, 3.1%, 47.2%, 0.4%)
CIE-LABlab(95.46, -12.03, 54.44)
CIE-LCHlch(95.46, 55.76, 102.46°)
OKLaboklab(95.67% -0.0348 0.1297)
OKLCHoklch(95.67% 0.134 105)
XYZxyz(78.1338, 88.7058, 35.5557)
Luminance0.8870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF686 #868EFE
analogous
#FEBA86 #FEF686 #CAFE86
triadic
#FEF686 #86FEF6 #F686FE
tetradic
#FEF686 #86FEBA #868EFE #FE86CA
square
#FEF686 #86FEBA #868EFE #FE86CA
split-complementary
#FEF686 #86CAFE #BA86FE
monochromatic
#FDED0D #FDF149 #FEF686 #FFFBC3 #FFFDE1

Accessibility & contrast

On white

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

On black

18.74
#FEF686 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF686
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF686#FFFFFF#000000##000000
##FEF6861.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef686;
/* rgb */ color: rgb(254, 246, 134);
/* oklch */ color: oklch(95.7% 0.134 105.0);
Tailwind
colors: {
  custom: {
    50: '#fff9ab',
    500: '#fef686',
    950: '#000000',
  },
}
SCSS
$custom: #fef686;
$custom-light: #fff9ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fef686",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 134
  },
  "hsl": {
    "h": 56,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.95666,
    "c": 0.13428,
    "h": 105
  },
  "luminance": 0.88704
}

Semantic roles & 50–950 ramp

primary
#FEF686
secondary
#4A54DE
accent
#0FE600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF686

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

Preview Lab → · Contrast checker → · Palette generator →

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