#F8FFBF#F8FFBF

#F8FFBF is a very light, moderate yellow. Relative luminance 0.952; OKLCH L 97.9% C 0.082 H 113.0°. Best body text is #000000 at 20.05:1 contrast (WCAG AA passes).

Color values

HEX#F8FFBF
RGBrgb(248, 255, 191)
HSLhsl(67, 100%, 87%)
HSVhsv(67, 25%, 100%)
CMYKcmyk(2.7%, 0%, 25.1%, 0%)
CIE-LABlab(98.13, -12.35, 29.90)
CIE-LCHlch(98.13, 32.35, 112.44°)
OKLaboklab(97.95% -0.032 0.0755)
OKLCHoklch(97.95% 0.082 113)
XYZxyz(83.8750, 95.2388, 63.2445)
Luminance0.9524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FFBF #C6BFFF
analogous
#FFE6BF #F8FFBF #D8FFBF
triadic
#F8FFBF #BFF8FF #FFBFF8
tetradic
#F8FFBF #BFFFE6 #C6BFFF #FFBFD8
square
#F8FFBF #BFFFE6 #C6BFFF #FFBFD8
split-complementary
#F8FFBF #BFD8FF #E6BFFF
monochromatic
#EBFF45 #F1FF82 #F8FFBF #FCFFE0 #FCFFE0

Accessibility & contrast

On white

1.05
#F8FFBF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.05
#F8FFBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FFBF
20.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FFBF#FFFFFF#000000##000000
##F8FFBF1.001.0520.0520.05
#FFFFFF1.051.0021.0021.00
#00000020.0521.001.001.00
##00000020.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF9BB
Deuteranopia (green-blind)
#FFFAC2
Tritanopia (blue-blind)
#FFF7EE
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #f8ffbf;
/* rgb */ color: rgb(248, 255, 191);
/* oklch */ color: oklch(97.9% 0.082 113.0);
Tailwind
colors: {
  custom: {
    50: '#fbffd2',
    500: '#f8ffbf',
    950: '#000000',
  },
}
SCSS
$custom: #f8ffbf;
$custom-light: #fbffd2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ffbf",
  "rgb": {
    "r": 248,
    "g": 255,
    "b": 191
  },
  "hsl": {
    "h": 66.563,
    "s": 100,
    "l": 87.451
  },
  "oklch": {
    "l": 0.97948,
    "c": 0.082,
    "h": 113
  },
  "luminance": 0.95238
}

Semantic roles & 50–950 ramp

primary
#F8FFBF
secondary
#867BE8
accent
#00E619
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#171814
muted
#858683

Preview Lab

Preview with #F8FFBF

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

Preview Lab → · Contrast checker → · Palette generator →

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