#F8FB72#F8FB72

#F8FB72 is a very light, vivid yellow. Relative luminance 0.902; OKLCH L 96.0% C 0.159 H 110.2°. Best body text is #000000 at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#F8FB72
RGBrgb(248, 251, 114)
HSLhsl(61, 94%, 72%)
HSVhsv(61, 55%, 98%)
CMYKcmyk(1.2%, 0%, 54.6%, 1.6%)
CIE-LABlab(96.07, -18.46, 64.09)
CIE-LCHlch(96.07, 66.70, 106.07°)
OKLaboklab(95.97% -0.0548 0.1489)
OKLCHoklch(95.97% 0.159 110.2)
XYZxyz(76.2478, 90.1675, 29.3038)
Luminance0.9017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FB72 #7572FB
analogous
#FBBA72 #F8FB72 #B4FB72
triadic
#F8FB72 #72F8FB #FB72F8
tetradic
#F8FB72 #72FBBA #7572FB #FB72B4
square
#F8FB72 #72FBBA #7572FB #FB72B4
split-complementary
#F8FB72 #72B4FB #BA72FB
monochromatic
#E7EC07 #F5F936 #F8FB72 #FBFDAE #FEFEE1

Accessibility & contrast

On white

1.10
#F8FB72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.03
#F8FB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FB72
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FB72#FFFFFF#000000##000000
##F8FB721.001.1019.0319.03
#FFFFFF1.101.0021.0021.00
#00000019.0321.001.001.00
##00000019.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF164
Deuteranopia (green-blind)
#FFF67A
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f8fb72;
/* rgb */ color: rgb(248, 251, 114);
/* oklch */ color: oklch(96.0% 0.159 110.2);
Tailwind
colors: {
  custom: {
    50: '#fdfc9f',
    500: '#f8fb72',
    950: '#000000',
  },
}
SCSS
$custom: #f8fb72;
$custom-light: #fdfc9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fb72",
  "rgb": {
    "r": 248,
    "g": 251,
    "b": 114
  },
  "hsl": {
    "h": 61.314,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.9597,
    "c": 0.15864,
    "h": 110.2
  },
  "luminance": 0.90166
}

Semantic roles & 50–950 ramp

primary
#F8FB72
secondary
#3E3AD7
accent
#00E605
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8FB72

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

Preview Lab → · Contrast checker → · Palette generator →

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