#F8F863#F8F863

#F8F863 is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 95.2% C 0.168 H 109.2°. Best body text is #000000 at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#F8F863
RGBrgb(248, 248, 99)
HSLhsl(60, 91%, 68%)
HSVhsv(60, 60%, 97%)
CMYKcmyk(0%, 0%, 60.1%, 2.7%)
CIE-LABlab(95.16, -18.05, 69.41)
CIE-LCHlch(95.16, 71.72, 104.58°)
OKLaboklab(95.2% -0.0552 0.1584)
OKLCHoklch(95.2% 0.168 109.2)
XYZxyz(74.5332, 87.9942, 24.8603)
Luminance0.8799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F863 #6363F8
analogous
#F8AD63 #F8F863 #ADF863
triadic
#F8F863 #63F8F8 #F863F8
tetradic
#F8F863 #63F8AD #6363F8 #F863AD
square
#F8F863 #63F8AD #6363F8 #F863AD
split-complementary
#F8F863 #63ADF8 #AD63F8
monochromatic
#D7D70A #F5F528 #F8F863 #FBFB9E #FDFDD8

Accessibility & contrast

On white

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

On black

18.60
#F8F863 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F863
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F863#FFFFFF#000000##000000
##F8F8631.001.1318.6018.60
#FFFFFF1.131.0021.0021.00
#00000018.6021.001.001.00
##00000018.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE51
Deuteranopia (green-blind)
#FFF36C
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f863;
/* rgb */ color: rgb(248, 248, 99);
/* oklch */ color: oklch(95.2% 0.168 109.2);
Tailwind
colors: {
  custom: {
    50: '#fefa95',
    500: '#f8f863',
    950: '#000000',
  },
}
SCSS
$custom: #f8f863;
$custom-light: #fefa95;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f863",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 99
  },
  "hsl": {
    "h": 60,
    "s": 91.411,
    "l": 68.039
  },
  "oklch": {
    "l": 0.95203,
    "c": 0.16773,
    "h": 109.2
  },
  "luminance": 0.87992
}

Semantic roles & 50–950 ramp

primary
#F8F863
secondary
#2E2ED1
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F863

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

Preview Lab → · Contrast checker → · Palette generator →

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