#F8F86A#F8F86A

#F8F86A is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.3% C 0.162 H 109.1°. Best body text is #000000 at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#F8F86A
RGBrgb(248, 248, 106)
HSLhsl(60, 91%, 69%)
HSVhsv(60, 57%, 97%)
CMYKcmyk(0%, 0%, 57.3%, 2.7%)
CIE-LABlab(95.22, -17.59, 66.57)
CIE-LCHlch(95.22, 68.86, 104.80°)
OKLaboklab(95.27% -0.0531 0.1533)
OKLCHoklch(95.27% 0.162 109.1)
XYZxyz(74.8825, 88.1339, 26.6998)
Luminance0.8813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F86A #6A6AF8
analogous
#F8B16A #F8F86A #B1F86A
triadic
#F8F86A #6AF8F8 #F86AF8
tetradic
#F8F86A #6AF8B1 #6A6AF8 #F86AB1
square
#F8F86A #6AF8B1 #6A6AF8 #F86AB1
split-complementary
#F8F86A #6AB1F8 #B16AF8
monochromatic
#DDDD0A #F5F530 #F8F86A #FBFBA4 #FDFDDF

Accessibility & contrast

On white

1.13
#F8F86A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.63
#F8F86A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F86A
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F86A#FFFFFF#000000##000000
##F8F86A1.001.1318.6318.63
#FFFFFF1.131.0021.0021.00
#00000018.6321.001.001.00
##00000018.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF5A
Deuteranopia (green-blind)
#FFF472
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f86a;
/* rgb */ color: rgb(248, 248, 106);
/* oklch */ color: oklch(95.3% 0.162 109.1);
Tailwind
colors: {
  custom: {
    50: '#fdfa9a',
    500: '#f8f86a',
    950: '#000000',
  },
}
SCSS
$custom: #f8f86a;
$custom-light: #fdfa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f86a",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 106
  },
  "hsl": {
    "h": 60,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.95269,
    "c": 0.16221,
    "h": 109.1
  },
  "luminance": 0.88132
}

Semantic roles & 50–950 ramp

primary
#F8F86A
secondary
#3434D2
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F86A

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

Preview Lab → · Contrast checker → · Palette generator →

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