#F8F677#F8F677

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

Color values

HEX#F8F677
RGBrgb(248, 246, 119)
HSLhsl(59, 90%, 72%)
HSVhsv(59, 52%, 97%)
CMYKcmyk(0%, 0.8%, 52%, 2.7%)
CIE-LABlab(94.82, -15.65, 60.46)
CIE-LCHlch(94.82, 62.45, 104.52°)
OKLaboklab(94.99% -0.0463 0.1416)
OKLCHoklch(94.99% 0.149 108.1)
XYZxyz(74.9989, 87.2019, 30.3301)
Luminance0.8720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F677 #7779F8
analogous
#F8B677 #F8F677 #BAF877
triadic
#F8F677 #77F8F6 #F677F8
tetradic
#F8F677 #77F8B6 #7779F8 #F877BA
square
#F8F677 #77F8B6 #7779F8 #F877BA
split-complementary
#F8F677 #77BAF8 #B677F8
monochromatic
#E9E50C #F5F23D #F8F677 #FBFAB1 #FEFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8F677#FFFFFF#000000##000000
##F8F6771.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)
#FFED6B
Deuteranopia (green-blind)
#FFF27E
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f677;
/* rgb */ color: rgb(248, 246, 119);
/* oklch */ color: oklch(95.0% 0.149 108.1);
Tailwind
colors: {
  custom: {
    50: '#fdf9a2',
    500: '#f8f677',
    950: '#000000',
  },
}
SCSS
$custom: #f8f677;
$custom-light: #fdf9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f677",
  "rgb": {
    "r": 248,
    "g": 246,
    "b": 119
  },
  "hsl": {
    "h": 59.07,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94995,
    "c": 0.14897,
    "h": 108.1
  },
  "luminance": 0.872
}

Semantic roles & 50–950 ramp

primary
#F8F677
secondary
#3F42D4
accent
#04E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F677

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

Preview Lab → · Contrast checker → · Palette generator →

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