#F8F679#F8F679

#F8F679 is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 95.0% C 0.147 H 108.1°. Best body text is #000000 at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#F8F679
RGBrgb(248, 246, 121)
HSLhsl(59, 90%, 72%)
HSVhsv(59, 51%, 97%)
CMYKcmyk(0%, 0.8%, 51.2%, 2.7%)
CIE-LABlab(94.84, -15.49, 59.58)
CIE-LCHlch(94.84, 61.56, 104.58°)
OKLaboklab(95.02% -0.0456 0.1399)
OKLCHoklch(95.02% 0.147 108.1)
XYZxyz(75.1203, 87.2504, 30.9693)
Luminance0.8725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F679 #797BF8
analogous
#F8B679 #F8F679 #BBF879
triadic
#F8F679 #79F8F6 #F679F8
tetradic
#F8F679 #79F8B6 #797BF8 #F879BB
square
#F8F679 #79F8B6 #797BF8 #F879BB
split-complementary
#F8F679 #79BBF8 #B679F8
monochromatic
#EAE70C #F5F23F #F8F679 #FBFAB3 #FDFDE2

Accessibility & contrast

On white

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

On black

18.45
#F8F679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F679
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F679#FFFFFF#000000##000000
##F8F6791.001.1418.4518.45
#FFFFFF1.141.0021.0021.00
#00000018.4521.001.001.00
##00000018.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6D
Deuteranopia (green-blind)
#FFF27F
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f679;
/* rgb */ color: rgb(248, 246, 121);
/* oklch */ color: oklch(95.0% 0.147 108.1);
Tailwind
colors: {
  custom: {
    50: '#fdf9a3',
    500: '#f8f679',
    950: '#000000',
  },
}
SCSS
$custom: #f8f679;
$custom-light: #fdf9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f679",
  "rgb": {
    "r": 248,
    "g": 246,
    "b": 121
  },
  "hsl": {
    "h": 59.055,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.95018,
    "c": 0.14715,
    "h": 108.1
  },
  "luminance": 0.87248
}

Semantic roles & 50–950 ramp

primary
#F8F679
secondary
#4144D4
accent
#04E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F679

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

Preview Lab → · Contrast checker → · Palette generator →

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