#F8F86F#F8F86F

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

Color values

HEX#F8F86F
RGBrgb(248, 248, 111)
HSLhsl(60, 91%, 70%)
HSVhsv(60, 55%, 97%)
CMYKcmyk(0%, 0%, 55.2%, 2.7%)
CIE-LABlab(95.26, -17.23, 64.48)
CIE-LCHlch(95.26, 66.75, 104.96°)
OKLaboklab(95.32% -0.0516 0.1494)
OKLCHoklch(95.32% 0.158 109.1)
XYZxyz(75.1501, 88.2409, 28.1093)
Luminance0.8824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F86F #6F6FF8
analogous
#F8B36F #F8F86F #B3F86F
triadic
#F8F86F #6FF8F8 #F86FF8
tetradic
#F8F86F #6FF8B3 #6F6FF8 #F86FB3
square
#F8F86F #6FF8B3 #6F6FF8 #F86FB3
split-complementary
#F8F86F #6FB3F8 #B36FF8
monochromatic
#E2E20B #F5F535 #F8F86F #FBFBA9 #FEFEE2

Accessibility & contrast

On white

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

On black

18.65
#F8F86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F86F
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F86F#FFFFFF#000000##000000
##F8F86F1.001.1318.6518.65
#FFFFFF1.131.0021.0021.00
#00000018.6521.001.001.00
##00000018.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF61
Deuteranopia (green-blind)
#FFF477
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f86f;
/* rgb */ color: rgb(248, 248, 111);
/* oklch */ color: oklch(95.3% 0.158 109.1);
Tailwind
colors: {
  custom: {
    50: '#fdfa9d',
    500: '#f8f86f',
    950: '#000000',
  },
}
SCSS
$custom: #f8f86f;
$custom-light: #fdfa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f86f",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 111
  },
  "hsl": {
    "h": 60,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.95319,
    "c": 0.15805,
    "h": 109.1
  },
  "luminance": 0.88239
}

Semantic roles & 50–950 ramp

primary
#F8F86F
secondary
#3838D3
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F86F

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

Preview Lab → · Contrast checker → · Palette generator →

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