#F8F480#F8F480

#F8F480 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.7% C 0.138 H 107.0°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#F8F480
RGBrgb(248, 244, 128)
HSLhsl(58, 90%, 74%)
HSVhsv(58, 48%, 97%)
CMYKcmyk(0%, 1.6%, 48.4%, 2.7%)
CIE-LABlab(94.41, -13.93, 55.86)
CIE-LCHlch(94.41, 57.57, 104.00°)
OKLaboklab(94.69% -0.0405 0.1324)
OKLCHoklch(94.69% 0.138 107)
XYZxyz(74.9601, 86.2183, 33.1110)
Luminance0.8622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F480 #8084F8
analogous
#F8B880 #F8F480 #C0F880
triadic
#F8F480 #80F8F4 #F480F8
tetradic
#F8F480 #80F8B8 #8084F8 #F880C0
square
#F8F480 #80F8B8 #8084F8 #F880C0
split-complementary
#F8F480 #80C0F8 #B880F8
monochromatic
#F0E90D #F5EF46 #F8F480 #FBF9BA #FDFCE2

Accessibility & contrast

On white

1.15
#F8F480 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.24
#F8F480 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F480
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F480#FFFFFF#000000##000000
##F8F4801.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC76
Deuteranopia (green-blind)
#FFF186
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f8f480;
/* rgb */ color: rgb(248, 244, 128);
/* oklch */ color: oklch(94.7% 0.138 107.0);
Tailwind
colors: {
  custom: {
    50: '#fdf7a7',
    500: '#f8f480',
    950: '#000000',
  },
}
SCSS
$custom: #f8f480;
$custom-light: #fdf7a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f480",
  "rgb": {
    "r": 248,
    "g": 244,
    "b": 128
  },
  "hsl": {
    "h": 58,
    "s": 89.552,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94693,
    "c": 0.13846,
    "h": 107
  },
  "luminance": 0.86216
}

Semantic roles & 50–950 ramp

primary
#F8F480
secondary
#474CD5
accent
#08E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8F480

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

Preview Lab → · Contrast checker → · Palette generator →

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