#F8F980#F8F980

#F8F980 is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.7% C 0.144 H 109.3°. Best body text is #000000 at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#F8F980
RGBrgb(248, 249, 128)
HSLhsl(60, 91%, 74%)
HSVhsv(60, 49%, 98%)
CMYKcmyk(0.4%, 0%, 48.6%, 2.4%)
CIE-LABlab(95.69, -16.37, 57.40)
CIE-LCHlch(95.69, 59.68, 105.91°)
OKLaboklab(95.72% -0.0474 0.1358)
OKLCHoklch(95.72% 0.144 109.3)
XYZxyz(76.4850, 89.2681, 33.6193)
Luminance0.8927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F980 #8180F9
analogous
#F9BE80 #F8F980 #BCF980
triadic
#F8F980 #80F8F9 #F980F8
tetradic
#F8F980 #80F9BE #8180F9 #F980BC
square
#F8F980 #80F9BE #8180F9 #F980BC
split-complementary
#F8F980 #80BCF9 #BE80F9
monochromatic
#F1F30B #F5F646 #F8F980 #FBFCBA #FDFEE2

Accessibility & contrast

On white

1.11
#F8F980 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.85
#F8F980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F980
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F980#FFFFFF#000000##000000
##F8F9801.001.1118.8518.85
#FFFFFF1.111.0021.0021.00
#00000018.8521.001.001.00
##00000018.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF075
Deuteranopia (green-blind)
#FFF586
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f8f980;
/* rgb */ color: rgb(248, 249, 128);
/* oklch */ color: oklch(95.7% 0.144 109.3);
Tailwind
colors: {
  custom: {
    50: '#fdfba7',
    500: '#f8f980',
    950: '#000000',
  },
}
SCSS
$custom: #f8f980;
$custom-light: #fdfba7;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f980",
  "rgb": {
    "r": 248,
    "g": 249,
    "b": 128
  },
  "hsl": {
    "h": 60.496,
    "s": 90.977,
    "l": 73.922
  },
  "oklch": {
    "l": 0.95718,
    "c": 0.14381,
    "h": 109.3
  },
  "luminance": 0.89266
}

Semantic roles & 50–950 ramp

primary
#F8F980
secondary
#4847D6
accent
#00E602
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8F980

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

Preview Lab → · Contrast checker → · Palette generator →

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