#F8F673#F8F673

#F8F673 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 95.0% C 0.153 H 108.2°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#F8F673
RGBrgb(248, 246, 115)
HSLhsl(59, 90%, 71%)
HSVhsv(59, 54%, 97%)
CMYKcmyk(0%, 0.8%, 53.6%, 2.7%)
CIE-LABlab(94.78, -15.96, 62.19)
CIE-LCHlch(94.78, 64.21, 104.40°)
OKLaboklab(94.95% -0.0476 0.1449)
OKLCHoklch(94.95% 0.153 108.2)
XYZxyz(74.7637, 87.1078, 29.0915)
Luminance0.8711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F673 #7375F8
analogous
#F8B373 #F8F673 #B7F873
triadic
#F8F673 #73F8F6 #F673F8
tetradic
#F8F673 #73F8B3 #7375F8 #F873B7
square
#F8F673 #73F8B3 #7375F8 #F873B7
split-complementary
#F8F673 #73B7F8 #B373F8
monochromatic
#E5E20B #F5F239 #F8F673 #FBFAAD #FEFDE2

Accessibility & contrast

On white

1.14
#F8F673 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.42
#F8F673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F673
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F673#FFFFFF#000000##000000
##F8F6731.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED66
Deuteranopia (green-blind)
#FFF27A
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f673;
/* rgb */ color: rgb(248, 246, 115);
/* oklch */ color: oklch(95.0% 0.153 108.2);
Tailwind
colors: {
  custom: {
    50: '#fdf99f',
    500: '#f8f673',
    950: '#000000',
  },
}
SCSS
$custom: #f8f673;
$custom-light: #fdf99f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f673",
  "rgb": {
    "r": 248,
    "g": 246,
    "b": 115
  },
  "hsl": {
    "h": 59.098,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.9495,
    "c": 0.15253,
    "h": 108.2
  },
  "luminance": 0.87106
}

Semantic roles & 50–950 ramp

primary
#F8F673
secondary
#3C3ED3
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F673

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

Preview Lab → · Contrast checker → · Palette generator →

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