#F8F865#F8F865

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

Color values

HEX#F8F865
RGBrgb(248, 248, 101)
HSLhsl(60, 91%, 68%)
HSVhsv(60, 59%, 97%)
CMYKcmyk(0%, 0%, 59.3%, 2.7%)
CIE-LABlab(95.17, -17.92, 68.61)
CIE-LCHlch(95.17, 70.91, 104.64°)
OKLaboklab(95.22% -0.0546 0.157)
OKLCHoklch(95.22% 0.166 109.2)
XYZxyz(74.6300, 88.0329, 25.3702)
Luminance0.8803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F865 #6565F8
analogous
#F8AE65 #F8F865 #AEF865
triadic
#F8F865 #65F8F8 #F865F8
tetradic
#F8F865 #65F8AE #6565F8 #F865AE
square
#F8F865 #65F8AE #6565F8 #F865AE
split-complementary
#F8F865 #65AEF8 #AE65F8
monochromatic
#D9D90A #F5F52A #F8F865 #FBFBA0 #FDFDDA

Accessibility & contrast

On white

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

On black

18.61
#F8F865 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F865
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F865#FFFFFF#000000##000000
##F8F8651.001.1318.6118.61
#FFFFFF1.131.0021.0021.00
#00000018.6121.001.001.00
##00000018.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f865;
/* rgb */ color: rgb(248, 248, 101);
/* oklch */ color: oklch(95.2% 0.166 109.2);
Tailwind
colors: {
  custom: {
    50: '#fefa96',
    500: '#f8f865',
    950: '#000000',
  },
}
SCSS
$custom: #f8f865;
$custom-light: #fefa96;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f865",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 101
  },
  "hsl": {
    "h": 60,
    "s": 91.304,
    "l": 68.431
  },
  "oklch": {
    "l": 0.95221,
    "c": 0.16619,
    "h": 109.2
  },
  "luminance": 0.88031
}

Semantic roles & 50–950 ramp

primary
#F8F865
secondary
#3030D1
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F865

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

Preview Lab → · Contrast checker → · Palette generator →

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