#F8FD72#F8FD72

#F8FD72 is a very light, vivid yellow. Relative luminance 0.914; OKLCH L 96.4% C 0.161 H 111.0°. Best body text is #000000 at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#F8FD72
RGBrgb(248, 253, 114)
HSLhsl(62, 97%, 72%)
HSVhsv(62, 55%, 99%)
CMYKcmyk(2%, 0%, 54.9%, 0.8%)
CIE-LABlab(96.58, -19.42, 64.68)
CIE-LCHlch(96.58, 67.53, 106.71°)
OKLaboklab(96.38% -0.0575 0.1501)
OKLCHoklch(96.38% 0.161 111)
XYZxyz(76.8758, 91.4237, 29.5132)
Luminance0.9142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FD72 #7772FD
analogous
#FDBC72 #F8FD72 #B3FD72
triadic
#F8FD72 #72F8FD #FD72F8
tetradic
#F8FD72 #72FDBC #7772FD #FD72B3
square
#F8FD72 #72FDBC #7772FD #FD72B3
split-complementary
#F8FD72 #72B3FD #BC72FD
monochromatic
#E9F103 #F5FC36 #F8FD72 #FBFEAE #FEFFE1

Accessibility & contrast

On white

1.09
#F8FD72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.28
#F8FD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FD72
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FD72#FFFFFF#000000##000000
##F8FD721.001.0919.2819.28
#FFFFFF1.091.0021.0021.00
#00000019.2821.001.001.00
##00000019.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF364
Deuteranopia (green-blind)
#FFF77A
Tritanopia (blue-blind)
#FFEFDF
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f8fd72;
/* rgb */ color: rgb(248, 253, 114);
/* oklch */ color: oklch(96.4% 0.161 111.0);
Tailwind
colors: {
  custom: {
    50: '#fdfd9f',
    500: '#f8fd72',
    950: '#000000',
  },
}
SCSS
$custom: #f8fd72;
$custom-light: #fdfd9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fd72",
  "rgb": {
    "r": 248,
    "g": 253,
    "b": 114
  },
  "hsl": {
    "h": 62.158,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.96383,
    "c": 0.16077,
    "h": 111
  },
  "luminance": 0.91422
}

Semantic roles & 50–950 ramp

primary
#F8FD72
secondary
#3F3AD9
accent
#00E608
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8FD72

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

Preview Lab → · Contrast checker → · Palette generator →

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