#F8F86D#F8F86D

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

Color values

HEX#F8F86D
RGBrgb(248, 248, 109)
HSLhsl(60, 91%, 70%)
HSVhsv(60, 56%, 97%)
CMYKcmyk(0%, 0%, 56%, 2.7%)
CIE-LABlab(95.24, -17.38, 65.32)
CIE-LCHlch(95.24, 67.60, 104.90°)
OKLaboklab(95.3% -0.0522 0.151)
OKLCHoklch(95.3% 0.16 109.1)
XYZxyz(75.0412, 88.1974, 27.5359)
Luminance0.8820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F86D #6D6DF8
analogous
#F8B36D #F8F86D #B3F86D
triadic
#F8F86D #6DF8F8 #F86DF8
tetradic
#F8F86D #6DF8B3 #6D6DF8 #F86DB3
square
#F8F86D #6DF8B3 #6D6DF8 #F86DB3
split-complementary
#F8F86D #6DB2F8 #B26DF8
monochromatic
#E0E00B #F5F533 #F8F86D #FBFBA7 #FEFEE2

Accessibility & contrast

On white

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

On black

18.64
#F8F86D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F86D
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F86D#FFFFFF#000000##000000
##F8F86D1.001.1318.6418.64
#FFFFFF1.131.0021.0021.00
#00000018.6421.001.001.00
##00000018.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f86d;
/* rgb */ color: rgb(248, 248, 109);
/* oklch */ color: oklch(95.3% 0.160 109.1);
Tailwind
colors: {
  custom: {
    50: '#fdfa9b',
    500: '#f8f86d',
    950: '#000000',
  },
}
SCSS
$custom: #f8f86d;
$custom-light: #fdfa9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f86d",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 109
  },
  "hsl": {
    "h": 60,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.95299,
    "c": 0.15974,
    "h": 109.1
  },
  "luminance": 0.88195
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8F86D

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

Preview Lab → · Contrast checker → · Palette generator →

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