#F8F676#F8F676

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

Color values

HEX#F8F676
RGBrgb(248, 246, 118)
HSLhsl(59, 90%, 72%)
HSVhsv(59, 52%, 97%)
CMYKcmyk(0%, 0.8%, 52.4%, 2.7%)
CIE-LABlab(94.81, -15.73, 60.89)
CIE-LCHlch(94.81, 62.89, 104.49°)
OKLaboklab(94.98% -0.0466 0.1424)
OKLCHoklch(94.98% 0.15 108.1)
XYZxyz(74.9391, 87.1780, 30.0155)
Luminance0.8718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F676 #7678F8
analogous
#F8B576 #F8F676 #B9F876
triadic
#F8F676 #76F8F6 #F676F8
tetradic
#F8F676 #76F8B5 #7678F8 #F876B9
square
#F8F676 #76F8B5 #7678F8 #F876B9
split-complementary
#F8F676 #76B9F8 #B576F8
monochromatic
#E8E40C #F5F23C #F8F676 #FBFAB0 #FEFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8F676#FFFFFF#000000##000000
##F8F6761.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)
#FFED69
Deuteranopia (green-blind)
#FFF27D
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f676;
/* rgb */ color: rgb(248, 246, 118);
/* oklch */ color: oklch(95.0% 0.150 108.1);
Tailwind
colors: {
  custom: {
    50: '#fdf9a1',
    500: '#f8f676',
    950: '#000000',
  },
}
SCSS
$custom: #f8f676;
$custom-light: #fdf9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f676",
  "rgb": {
    "r": 248,
    "g": 246,
    "b": 118
  },
  "hsl": {
    "h": 59.077,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.94984,
    "c": 0.14987,
    "h": 108.1
  },
  "luminance": 0.87176
}

Semantic roles & 50–950 ramp

primary
#F8F676
secondary
#3F41D4
accent
#04E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F676

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

Preview Lab → · Contrast checker → · Palette generator →

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