#F8F68E#F8F68E

#F8F68E is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.3% C 0.127 H 107.6°. Best body text is #000000 at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#F8F68E
RGBrgb(248, 246, 142)
HSLhsl(59, 88%, 76%)
HSVhsv(59, 43%, 97%)
CMYKcmyk(0%, 0.8%, 42.7%, 2.7%)
CIE-LABlab(95.09, -13.62, 50.10)
CIE-LCHlch(95.09, 51.91, 105.21°)
OKLaboklab(95.29% -0.0383 0.1207)
OKLCHoklch(95.29% 0.127 107.6)
XYZxyz(76.5511, 87.8227, 38.5049)
Luminance0.8782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F68E #8E90F8
analogous
#F8C18E #F8F68E #C5F88E
triadic
#F8F68E #8EF8F6 #F68EF8
tetradic
#F8F68E #8EF8C1 #8E90F8 #F88EC5
square
#F8F68E #8EF8C1 #8E90F8 #F88EC5
split-complementary
#F8F68E #8EC5F8 #C18EF8
monochromatic
#F1ED1B #F4F154 #F8F68E #FCFBC8 #FDFDE2

Accessibility & contrast

On white

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

On black

18.56
#F8F68E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F68E
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F68E#FFFFFF#000000##000000
##F8F68E1.001.1318.5618.56
#FFFFFF1.131.0021.0021.00
#00000018.5621.001.001.00
##00000018.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE86
Deuteranopia (green-blind)
#FFF393
Tritanopia (blue-blind)
#FFEADD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f68e;
/* rgb */ color: rgb(248, 246, 142);
/* oklch */ color: oklch(95.3% 0.127 107.6);
Tailwind
colors: {
  custom: {
    50: '#fcf9b1',
    500: '#f8f68e',
    950: '#000000',
  },
}
SCSS
$custom: #f8f68e;
$custom-light: #fcf9b1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f68e",
  "rgb": {
    "r": 248,
    "g": 246,
    "b": 142
  },
  "hsl": {
    "h": 58.868,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.95289,
    "c": 0.12659,
    "h": 107.6
  },
  "luminance": 0.87821
}

Semantic roles & 50–950 ramp

primary
#F8F68E
secondary
#5456D7
accent
#05E501
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8F68E

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

Preview Lab → · Contrast checker → · Palette generator →

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