#F8F682#F8F682

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

Color values

HEX#F8F682
RGBrgb(248, 246, 130)
HSLhsl(59, 89%, 74%)
HSVhsv(59, 48%, 97%)
CMYKcmyk(0%, 0.8%, 47.6%, 2.7%)
CIE-LABlab(94.94, -14.73, 55.58)
CIE-LCHlch(94.94, 57.50, 104.85°)
OKLaboklab(95.13% -0.0426 0.132)
OKLCHoklch(95.13% 0.139 107.9)
XYZxyz(75.6981, 87.4816, 34.0128)
Luminance0.8748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F682 #8284F8
analogous
#F8BB82 #F8F682 #BFF882
triadic
#F8F682 #82F8F6 #F682F8
tetradic
#F8F682 #82F8BB #8284F8 #F882BF
square
#F8F682 #82F8BB #8284F8 #F882BF
split-complementary
#F8F682 #82BFF8 #BB82F8
monochromatic
#F2EE0E #F5F248 #F8F682 #FBFABC #FDFDE2

Accessibility & contrast

On white

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

On black

18.50
#F8F682 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F682
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F682#FFFFFF#000000##000000
##F8F6821.001.1418.5018.50
#FFFFFF1.141.0021.0021.00
#00000018.5021.001.001.00
##00000018.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f682;
/* rgb */ color: rgb(248, 246, 130);
/* oklch */ color: oklch(95.1% 0.139 107.9);
Tailwind
colors: {
  custom: {
    50: '#fdf9a9',
    500: '#f8f682',
    950: '#000000',
  },
}
SCSS
$custom: #f8f682;
$custom-light: #fdf9a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f682",
  "rgb": {
    "r": 248,
    "g": 246,
    "b": 130
  },
  "hsl": {
    "h": 58.983,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.95128,
    "c": 0.13865,
    "h": 107.9
  },
  "luminance": 0.8748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8F682

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

Preview Lab → · Contrast checker → · Palette generator →

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