#F8E686#F8E686

#F8E686 is a very light, moderate yellow. Relative luminance 0.783; OKLCH L 91.9% C 0.119 H 98.9°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#F8E686
RGBrgb(248, 230, 134)
HSLhsl(51, 89%, 75%)
HSVhsv(51, 46%, 97%)
CMYKcmyk(0%, 7.3%, 46%, 2.7%)
CIE-LABlab(90.90, -6.46, 48.76)
CIE-LCHlch(90.90, 49.19, 97.54°)
OKLaboklab(91.94% -0.0184 0.1172)
OKLCHoklch(91.94% 0.119 98.9)
XYZxyz(71.3132, 78.2738, 33.9015)
Luminance0.7827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E686 #8698F8
analogous
#F8AD86 #F8E686 #D1F886
triadic
#F8E686 #86F8E6 #E686F8
tetradic
#F8E686 #86F8AD #8698F8 #F886D1
square
#F8E686 #86F8AD #8698F8 #F886D1
split-complementary
#F8E686 #86D1F8 #AD86F8
monochromatic
#F1CE12 #F5DA4C #F8E686 #FBF2C0 #FDF9E2

Accessibility & contrast

On white

1.26
#F8E686 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.65
#F8E686 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E686
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E686#FFFFFF#000000##000000
##F8E6861.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E17E
Deuteranopia (green-blind)
#FCE88A
Tritanopia (blue-blind)
#FFDACF
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f8e686;
/* rgb */ color: rgb(248, 230, 134);
/* oklch */ color: oklch(91.9% 0.119 98.9);
Tailwind
colors: {
  custom: {
    50: '#fcedab',
    500: '#f8e686',
    950: '#000000',
  },
}
SCSS
$custom: #f8e686;
$custom-light: #fcedab;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e686",
  "rgb": {
    "r": 248,
    "g": 230,
    "b": 134
  },
  "hsl": {
    "h": 50.526,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.91938,
    "c": 0.11861,
    "h": 98.9
  },
  "luminance": 0.78271
}

Semantic roles & 50–950 ramp

primary
#F8E686
secondary
#4D62D6
accent
#24E600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F8E686

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

Preview Lab → · Contrast checker → · Palette generator →

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