#F8F681#F8F681

#F8F681 is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 95.1% C 0.140 H 107.9°. Best body text is #000000 at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#F8F681
RGBrgb(248, 246, 129)
HSLhsl(59, 89%, 74%)
HSVhsv(59, 48%, 97%)
CMYKcmyk(0%, 0.8%, 48%, 2.7%)
CIE-LABlab(94.93, -14.82, 56.03)
CIE-LCHlch(94.93, 57.95, 104.82°)
OKLaboklab(95.12% -0.0429 0.1329)
OKLCHoklch(95.12% 0.14 107.9)
XYZxyz(75.6313, 87.4549, 33.6610)
Luminance0.8745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F681 #8183F8
analogous
#F8BB81 #F8F681 #BFF881
triadic
#F8F681 #81F8F6 #F681F8
tetradic
#F8F681 #81F8BB #8183F8 #F881BF
square
#F8F681 #81F8BB #8183F8 #F881BF
split-complementary
#F8F681 #81BFF8 #BB81F8
monochromatic
#F1ED0D #F5F247 #F8F681 #FBFABB #FDFDE2

Accessibility & contrast

On white

1.14
#F8F681 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.49
#F8F681 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F681
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F681#FFFFFF#000000##000000
##F8F6811.001.1418.4918.49
#FFFFFF1.141.0021.0021.00
#00000018.4921.001.001.00
##00000018.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE77
Deuteranopia (green-blind)
#FFF387
Tritanopia (blue-blind)
#FFE9DB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f681;
/* rgb */ color: rgb(248, 246, 129);
/* oklch */ color: oklch(95.1% 0.140 107.9);
Tailwind
colors: {
  custom: {
    50: '#fdf9a8',
    500: '#f8f681',
    950: '#000000',
  },
}
SCSS
$custom: #f8f681;
$custom-light: #fdf9a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f681",
  "rgb": {
    "r": 248,
    "g": 246,
    "b": 129
  },
  "hsl": {
    "h": 58.992,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.95115,
    "c": 0.13961,
    "h": 107.9
  },
  "luminance": 0.87453
}

Semantic roles & 50–950 ramp

primary
#F8F681
secondary
#484BD5
accent
#04E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8F681

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

Preview Lab → · Contrast checker → · Palette generator →

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