#F8F688#F8F688

#F8F688 is a very light, vivid yellow. Relative luminance 0.876; OKLCH L 95.2% C 0.133 H 107.8°. Best body text is #000000 at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#F8F688
RGBrgb(248, 246, 136)
HSLhsl(59, 89%, 75%)
HSVhsv(59, 45%, 97%)
CMYKcmyk(0%, 0.8%, 45.2%, 2.7%)
CIE-LABlab(95.01, -14.19, 52.85)
CIE-LCHlch(95.01, 54.73, 105.03°)
OKLaboklab(95.21% -0.0405 0.1264)
OKLCHoklch(95.21% 0.133 107.8)
XYZxyz(76.1127, 87.6474, 36.1960)
Luminance0.8765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F688 #888AF8
analogous
#F8BE88 #F8F688 #C2F888
triadic
#F8F688 #88F8F6 #F688F8
tetradic
#F8F688 #88F8BE #888AF8 #F888C2
square
#F8F688 #88F8BE #888AF8 #F888C2
split-complementary
#F8F688 #88C2F8 #BE88F8
monochromatic
#F1ED14 #F5F24E #F8F688 #FBFAC2 #FDFDE2

Accessibility & contrast

On white

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

On black

18.53
#F8F688 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F688
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F688#FFFFFF#000000##000000
##F8F6881.001.1318.5318.53
#FFFFFF1.131.0021.0021.00
#00000018.5321.001.001.00
##00000018.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7F
Deuteranopia (green-blind)
#FFF38D
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f688;
/* rgb */ color: rgb(248, 246, 136);
/* oklch */ color: oklch(95.2% 0.133 107.8);
Tailwind
colors: {
  custom: {
    50: '#fcf9ad',
    500: '#f8f688',
    950: '#000000',
  },
}
SCSS
$custom: #f8f688;
$custom-light: #fcf9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f688",
  "rgb": {
    "r": 248,
    "g": 246,
    "b": 136
  },
  "hsl": {
    "h": 58.929,
    "s": 88.889,
    "l": 75.294
  },
  "oklch": {
    "l": 0.95206,
    "c": 0.13272,
    "h": 107.8
  },
  "luminance": 0.87646
}

Semantic roles & 50–950 ramp

primary
#F8F688
secondary
#4E51D6
accent
#04E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8F688

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

Preview Lab → · Contrast checker → · Palette generator →

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