#F8FA47#F8FA47

#F8FA47 is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.4% C 0.188 H 110.1°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#F8FA47
RGBrgb(248, 250, 71)
HSLhsl(61, 95%, 63%)
HSVhsv(61, 72%, 98%)
CMYKcmyk(0.8%, 0%, 71.6%, 2%)
CIE-LABlab(95.49, -20.51, 80.08)
CIE-LCHlch(95.49, 82.66, 104.37°)
OKLaboklab(95.41% -0.0648 0.1766)
OKLCHoklch(95.41% 0.188 110.1)
XYZxyz(74.0370, 88.7847, 19.1972)
Luminance0.8878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA47 #4947FA
analogous
#FAA247 #F8FA47 #9FFA47
triadic
#F8FA47 #47F8FA #FA47F8
tetradic
#F8FA47 #47FAA2 #4947FA #FA479F
square
#F8FA47 #47FAA2 #4947FA #FA479F
split-complementary
#F8FA47 #479FFA #A247FA
monochromatic
#BFC105 #F6F80B #F8FA47 #FAFC83 #FDFDBE

Accessibility & contrast

On white

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

On black

18.76
#F8FA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA47
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA47#FFFFFF#000000##000000
##F8FA471.001.1218.7618.76
#FFFFFF1.121.0021.0021.00
#00000018.7621.001.001.00
##00000018.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF23
Deuteranopia (green-blind)
#FFF455
Tritanopia (blue-blind)
#FFEAD8
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f8fa47;
/* rgb */ color: rgb(248, 250, 71);
/* oklch */ color: oklch(95.4% 0.188 110.1);
Tailwind
colors: {
  custom: {
    50: '#fffb86',
    500: '#f8fa47',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa47;
$custom-light: #fffb86;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa47",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 71
  },
  "hsl": {
    "h": 60.67,
    "s": 94.709,
    "l": 62.941
  },
  "oklch": {
    "l": 0.95408,
    "c": 0.1881,
    "h": 110.1
  },
  "luminance": 0.88783
}

Semantic roles & 50–950 ramp

primary
#F8FA47
secondary
#2827BF
accent
#00E603
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #F8FA47

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

Preview Lab → · Contrast checker → · Palette generator →

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