#F8F473#F8F473

#F8F473 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.5% C 0.150 H 107.3°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#F8F473
RGBrgb(248, 244, 115)
HSLhsl(58, 90%, 71%)
HSVhsv(58, 54%, 97%)
CMYKcmyk(0%, 1.6%, 53.6%, 2.7%)
CIE-LABlab(94.27, -14.99, 61.60)
CIE-LCHlch(94.27, 63.40, 103.68°)
OKLaboklab(94.54% -0.0448 0.1437)
OKLCHoklch(94.54% 0.15 107.3)
XYZxyz(74.1587, 85.8977, 28.8898)
Luminance0.8590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F473 #7377F8
analogous
#F8B173 #F8F473 #B9F873
triadic
#F8F473 #73F8F4 #F473F8
tetradic
#F8F473 #73F8B1 #7377F8 #F873B9
square
#F8F473 #73F8B1 #7377F8 #F873B9
split-complementary
#F8F473 #73B9F8 #B173F8
monochromatic
#E5DF0B #F5EF39 #F8F473 #FBF9AD #FEFDE2

Accessibility & contrast

On white

1.16
#F8F473 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.18
#F8F473 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F473
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F473#FFFFFF#000000##000000
##F8F4731.001.1618.1818.18
#FFFFFF1.161.0021.0021.00
#00000018.1821.001.001.00
##00000018.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC66
Deuteranopia (green-blind)
#FFF17A
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f473;
/* rgb */ color: rgb(248, 244, 115);
/* oklch */ color: oklch(94.5% 0.150 107.3);
Tailwind
colors: {
  custom: {
    50: '#fdf79f',
    500: '#f8f473',
    950: '#000000',
  },
}
SCSS
$custom: #f8f473;
$custom-light: #fdf79f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f473",
  "rgb": {
    "r": 248,
    "g": 244,
    "b": 115
  },
  "hsl": {
    "h": 58.195,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.9454,
    "c": 0.15048,
    "h": 107.3
  },
  "luminance": 0.85896
}

Semantic roles & 50–950 ramp

primary
#F8F473
secondary
#3C41D3
accent
#07E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F473

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

Preview Lab → · Contrast checker → · Palette generator →

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