#F8F678#F8F678

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

Color values

HEX#F8F678
RGBrgb(248, 246, 120)
HSLhsl(59, 90%, 72%)
HSVhsv(59, 52%, 97%)
CMYKcmyk(0%, 0.8%, 51.6%, 2.7%)
CIE-LABlab(94.83, -15.57, 60.02)
CIE-LCHlch(94.83, 62.01, 104.55°)
OKLaboklab(95.01% -0.046 0.1407)
OKLCHoklch(95.01% 0.148 108.1)
XYZxyz(75.0592, 87.2260, 30.6480)
Luminance0.8722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F678 #787AF8
analogous
#F8B678 #F8F678 #BAF878
triadic
#F8F678 #78F8F6 #F678F8
tetradic
#F8F678 #78F8B6 #787AF8 #F878BA
square
#F8F678 #78F8B6 #787AF8 #F878BA
split-complementary
#F8F678 #78BAF8 #B678F8
monochromatic
#E9E60C #F5F23E #F8F678 #FBFAB2 #FDFDE2

Accessibility & contrast

On white

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

On black

18.44
#F8F678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F678
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F678#FFFFFF#000000##000000
##F8F6781.001.1418.4418.44
#FFFFFF1.141.0021.0021.00
#00000018.4421.001.001.00
##00000018.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f678;
/* rgb */ color: rgb(248, 246, 120);
/* oklch */ color: oklch(95.0% 0.148 108.1);
Tailwind
colors: {
  custom: {
    50: '#fdf9a2',
    500: '#f8f678',
    950: '#000000',
  },
}
SCSS
$custom: #f8f678;
$custom-light: #fdf9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f678",
  "rgb": {
    "r": 248,
    "g": 246,
    "b": 120
  },
  "hsl": {
    "h": 59.063,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.95006,
    "c": 0.14806,
    "h": 108.1
  },
  "luminance": 0.87224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8F678

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

Preview Lab → · Contrast checker → · Palette generator →

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