#F8F76A#F8F76A

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

Color values

HEX#F8F76A
RGBrgb(248, 247, 106)
HSLhsl(60, 91%, 69%)
HSVhsv(60, 57%, 97%)
CMYKcmyk(0%, 0.4%, 57.3%, 2.7%)
CIE-LABlab(94.96, -17.10, 66.28)
CIE-LCHlch(94.96, 68.46, 104.47°)
OKLaboklab(95.06% -0.0518 0.1527)
OKLCHoklch(95.06% 0.161 108.7)
XYZxyz(74.5759, 87.5206, 26.5976)
Luminance0.8752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F76A #6A6BF8
analogous
#F8B06A #F8F76A #B2F86A
triadic
#F8F76A #6AF8F7 #F76AF8
tetradic
#F8F76A #6AF8B0 #6A6BF8 #F86AB2
square
#F8F76A #6AF8B0 #6A6BF8 #F86AB2
split-complementary
#F8F76A #6AB2F8 #B06AF8
monochromatic
#DDDC0A #F5F430 #F8F76A #FBFAA4 #FDFDDF

Accessibility & contrast

On white

1.13
#F8F76A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8F76A#FFFFFF#000000##000000
##F8F76A1.001.1318.5018.50
#FFFFFF1.131.0021.0021.00
#00000018.5021.001.001.00
##00000018.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5A
Deuteranopia (green-blind)
#FFF372
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f76a;
/* rgb */ color: rgb(248, 247, 106);
/* oklch */ color: oklch(95.1% 0.161 108.7);
Tailwind
colors: {
  custom: {
    50: '#fdf999',
    500: '#f8f76a',
    950: '#000000',
  },
}
SCSS
$custom: #f8f76a;
$custom-light: #fdf999;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f76a",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 106
  },
  "hsl": {
    "h": 59.577,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.95063,
    "c": 0.16119,
    "h": 108.7
  },
  "luminance": 0.87519
}

Semantic roles & 50–950 ramp

primary
#F8F76A
secondary
#3435D2
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F76A

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

Preview Lab → · Contrast checker → · Palette generator →

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