#F8E86F#F8E86F

#F8E86F is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 92.0% C 0.142 H 101.8°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#F8E86F
RGBrgb(248, 232, 111)
HSLhsl(53, 91%, 70%)
HSVhsv(53, 55%, 97%)
CMYKcmyk(0%, 6.5%, 55.2%, 2.7%)
CIE-LABlab(91.15, -9.39, 59.81)
CIE-LCHlch(91.15, 60.55, 98.92°)
OKLaboklab(92.05% -0.0292 0.1394)
OKLCHoklch(92.05% 0.142 101.8)
XYZxyz(70.4396, 78.8200, 26.5392)
Luminance0.7882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E86F #6F7FF8
analogous
#F8A46F #F8E86F #C3F86F
triadic
#F8E86F #6FF8E8 #E86FF8
tetradic
#F8E86F #6FF8A4 #6F7FF8 #F86FC3
square
#F8E86F #6FF8A4 #6F7FF8 #F86FC3
split-complementary
#F8E86F #6FC3F8 #A46FF8
monochromatic
#E2C90B #F5DF35 #F8E86F #FBF1A9 #FEFAE2

Accessibility & contrast

On white

1.25
#F8E86F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.76
#F8E86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E86F
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E86F#FFFFFF#000000##000000
##F8E86F1.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE263
Deuteranopia (green-blind)
#FFE975
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f8e86f;
/* rgb */ color: rgb(248, 232, 111);
/* oklch */ color: oklch(92.0% 0.142 101.8);
Tailwind
colors: {
  custom: {
    50: '#fdef9c',
    500: '#f8e86f',
    950: '#000000',
  },
}
SCSS
$custom: #f8e86f;
$custom-light: #fdef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e86f",
  "rgb": {
    "r": 248,
    "g": 232,
    "b": 111
  },
  "hsl": {
    "h": 52.993,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.9205,
    "c": 0.14241,
    "h": 101.8
  },
  "luminance": 0.78817
}

Semantic roles & 50–950 ramp

primary
#F8E86F
secondary
#384BD3
accent
#1BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F8E86F

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

Preview Lab → · Contrast checker → · Palette generator →

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