#F8FB71#F8FB71

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

Color values

HEX#F8FB71
RGBrgb(248, 251, 113)
HSLhsl(61, 95%, 71%)
HSVhsv(61, 55%, 98%)
CMYKcmyk(1.2%, 0%, 55%, 1.6%)
CIE-LABlab(96.06, -18.53, 64.51)
CIE-LCHlch(96.06, 67.12, 106.03°)
OKLaboklab(95.96% -0.0551 0.1497)
OKLCHoklch(95.96% 0.16 110.2)
XYZxyz(76.1912, 90.1449, 29.0057)
Luminance0.9014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FB71 #7471FB
analogous
#FBB971 #F8FB71 #B3FB71
triadic
#F8FB71 #71F8FB #FB71F8
tetradic
#F8FB71 #71FBB9 #7471FB #FB71B3
square
#F8FB71 #71FBB9 #7471FB #FB71B3
split-complementary
#F8FB71 #71B3FB #B971FB
monochromatic
#E6EB07 #F5F935 #F8FB71 #FBFDAD #FEFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8FB71#FFFFFF#000000##000000
##F8FB711.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)
#FFF163
Deuteranopia (green-blind)
#FFF679
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f8fb71;
/* rgb */ color: rgb(248, 251, 113);
/* oklch */ color: oklch(96.0% 0.160 110.2);
Tailwind
colors: {
  custom: {
    50: '#fdfc9e',
    500: '#f8fb71',
    950: '#000000',
  },
}
SCSS
$custom: #f8fb71;
$custom-light: #fdfc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fb71",
  "rgb": {
    "r": 248,
    "g": 251,
    "b": 113
  },
  "hsl": {
    "h": 61.304,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95959,
    "c": 0.1595,
    "h": 110.2
  },
  "luminance": 0.90143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8FB71

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

Preview Lab → · Contrast checker → · Palette generator →

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