#F8F672#F8F672

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

Color values

HEX#F8F672
RGBrgb(248, 246, 114)
HSLhsl(59, 91%, 71%)
HSVhsv(59, 54%, 97%)
CMYKcmyk(0%, 0.8%, 54%, 2.7%)
CIE-LABlab(94.77, -16.04, 62.62)
CIE-LCHlch(94.77, 64.64, 104.37°)
OKLaboklab(94.94% -0.0479 0.1457)
OKLCHoklch(94.94% 0.153 108.2)
XYZxyz(74.7065, 87.0849, 28.7901)
Luminance0.8708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F672 #7274F8
analogous
#F8B372 #F8F672 #B7F872
triadic
#F8F672 #72F8F6 #F672F8
tetradic
#F8F672 #72F8B3 #7274F8 #F872B7
square
#F8F672 #72F8B3 #7274F8 #F872B7
split-complementary
#F8F672 #72B7F8 #B372F8
monochromatic
#E4E10B #F5F238 #F8F672 #FBFAAC #FEFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8F672#FFFFFF#000000##000000
##F8F6721.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)
#FFED65
Deuteranopia (green-blind)
#FFF279
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f672;
/* rgb */ color: rgb(248, 246, 114);
/* oklch */ color: oklch(94.9% 0.153 108.2);
Tailwind
colors: {
  custom: {
    50: '#fdf99e',
    500: '#f8f672',
    950: '#000000',
  },
}
SCSS
$custom: #f8f672;
$custom-light: #fdf99e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f672",
  "rgb": {
    "r": 248,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 59.104,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.9494,
    "c": 0.1534,
    "h": 108.2
  },
  "luminance": 0.87083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8F672

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

Preview Lab → · Contrast checker → · Palette generator →

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