#F5F980#F5F980

#F5F980 is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.5% C 0.144 H 110.5°. Best body text is #000000 at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#F5F980
RGBrgb(245, 249, 128)
HSLhsl(62, 91%, 74%)
HSVhsv(62, 49%, 98%)
CMYKcmyk(1.6%, 0%, 48.6%, 2.4%)
CIE-LABlab(95.46, -17.53, 57.07)
CIE-LCHlch(95.46, 59.70, 107.08°)
OKLaboklab(95.48% -0.0506 0.1351)
OKLCHoklch(95.48% 0.144 110.5)
XYZxyz(75.4297, 88.7239, 33.5698)
Luminance0.8872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F980 #8480F9
analogous
#F9C180 #F5F980 #B9F980
triadic
#F5F980 #80F5F9 #F980F5
tetradic
#F5F980 #80F9C1 #8480F9 #F980B9
square
#F5F980 #80F9C1 #8480F9 #F980B9
split-complementary
#F5F980 #80B9F9 #C180F9
monochromatic
#EBF30B #F0F646 #F5F980 #FAFCBA #FDFEE2

Accessibility & contrast

On white

1.12
#F5F980 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.74
#F5F980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F980
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F980#FFFFFF#000000##000000
##F5F9801.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f980;
/* rgb */ color: rgb(245, 249, 128);
/* oklch */ color: oklch(95.5% 0.144 110.5);
Tailwind
colors: {
  custom: {
    50: '#fafba7',
    500: '#f5f980',
    950: '#000000',
  },
}
SCSS
$custom: #f5f980;
$custom-light: #fafba7;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f980",
  "rgb": {
    "r": 245,
    "g": 249,
    "b": 128
  },
  "hsl": {
    "h": 61.983,
    "s": 90.977,
    "l": 73.922
  },
  "oklch": {
    "l": 0.95481,
    "c": 0.14426,
    "h": 110.5
  },
  "luminance": 0.88722
}

Semantic roles & 50–950 ramp

primary
#F5F980
secondary
#4C47D6
accent
#00E608
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5F980

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

Preview Lab → · Contrast checker → · Palette generator →

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