#F8FE72#F8FE72

#F8FE72 is a very light, vivid yellow. Relative luminance 0.921; OKLCH L 96.6% C 0.162 H 111.3°. Best body text is #000000 at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#F8FE72
RGBrgb(248, 254, 114)
HSLhsl(63, 99%, 72%)
HSVhsv(63, 55%, 100%)
CMYKcmyk(2.4%, 0%, 55.1%, 0.4%)
CIE-LABlab(96.84, -19.90, 64.97)
CIE-LCHlch(96.84, 67.95, 107.03°)
OKLaboklab(96.59% -0.0589 0.1508)
OKLCHoklch(96.59% 0.162 111.3)
XYZxyz(77.1923, 92.0567, 29.6187)
Luminance0.9205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FE72 #7872FE
analogous
#FEBE72 #F8FE72 #B2FE72
triadic
#F8FE72 #72F8FE #FE72F8
tetradic
#F8FE72 #72FEBE #7872FE #FE72B2
square
#F8FE72 #72FEBE #7872FE #FE72B2
split-complementary
#F8FE72 #72B2FE #BE72FE
monochromatic
#E9F402 #F5FE35 #F8FE72 #FBFEAF #FDFFE1

Accessibility & contrast

On white

1.08
#F8FE72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.41
#F8FE72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FE72
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FE72#FFFFFF#000000##000000
##F8FE721.001.0819.4119.41
#FFFFFF1.081.0021.0021.00
#00000019.4121.001.001.00
##00000019.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF463
Deuteranopia (green-blind)
#FFF87A
Tritanopia (blue-blind)
#FFF0DF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f8fe72;
/* rgb */ color: rgb(248, 254, 114);
/* oklch */ color: oklch(96.6% 0.162 111.3);
Tailwind
colors: {
  custom: {
    50: '#fdfe9f',
    500: '#f8fe72',
    950: '#000000',
  },
}
SCSS
$custom: #f8fe72;
$custom-light: #fdfe9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fe72",
  "rgb": {
    "r": 248,
    "g": 254,
    "b": 114
  },
  "hsl": {
    "h": 62.571,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.9659,
    "c": 0.16185,
    "h": 111.3
  },
  "luminance": 0.92055
}

Semantic roles & 50–950 ramp

primary
#F8FE72
secondary
#4039DB
accent
#00E60A
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8FE72

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

Preview Lab → · Contrast checker → · Palette generator →

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