#F8FB74#F8FB74

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

Color values

HEX#F8FB74
RGBrgb(248, 251, 116)
HSLhsl(61, 94%, 72%)
HSVhsv(61, 54%, 98%)
CMYKcmyk(1.2%, 0%, 53.8%, 1.6%)
CIE-LABlab(96.09, -18.31, 63.24)
CIE-LCHlch(96.09, 65.84, 106.14°)
OKLaboklab(95.99% -0.0541 0.1473)
OKLCHoklch(95.99% 0.157 110.2)
XYZxyz(76.3629, 90.2136, 29.9099)
Luminance0.9021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FB74 #7774FB
analogous
#FBBA74 #F8FB74 #B5FB74
triadic
#F8FB74 #74F8FB #FB74F8
tetradic
#F8FB74 #74FBBA #7774FB #FB74B5
square
#F8FB74 #74FBBA #7774FB #FB74B5
split-complementary
#F8FB74 #74B5FB #BA74FB
monochromatic
#E9EE07 #F5F939 #F8FB74 #FBFDAF #FEFEE1

Accessibility & contrast

On white

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

On black

19.04
#F8FB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FB74
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FB74#FFFFFF#000000##000000
##F8FB741.001.1019.0419.04
#FFFFFF1.101.0021.0021.00
#00000019.0421.001.001.00
##00000019.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8fb74;
/* rgb */ color: rgb(248, 251, 116);
/* oklch */ color: oklch(96.0% 0.157 110.2);
Tailwind
colors: {
  custom: {
    50: '#fdfca0',
    500: '#f8fb74',
    950: '#000000',
  },
}
SCSS
$custom: #f8fb74;
$custom-light: #fdfca0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fb74",
  "rgb": {
    "r": 248,
    "g": 251,
    "b": 116
  },
  "hsl": {
    "h": 61.333,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.95991,
    "c": 0.15691,
    "h": 110.2
  },
  "luminance": 0.90212
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8FB74

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

Preview Lab → · Contrast checker → · Palette generator →

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