#F8F896#F8F896

#F8F896 is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.8% C 0.120 H 108.5°. Best body text is #000000 at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#F8F896
RGBrgb(248, 248, 150)
HSLhsl(60, 88%, 78%)
HSVhsv(60, 40%, 97%)
CMYKcmyk(0%, 0%, 39.5%, 2.7%)
CIE-LABlab(95.70, -13.79, 47.02)
CIE-LCHlch(95.70, 49.00, 106.35°)
OKLaboklab(95.81% -0.0382 0.1142)
OKLCHoklch(95.81% 0.12 108.5)
XYZxyz(77.7850, 89.2949, 41.9863)
Luminance0.8929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F896 #9696F8
analogous
#F8C796 #F8F896 #C7F896
triadic
#F8F896 #96F8F8 #F896F8
tetradic
#F8F896 #96F8C7 #9696F8 #F896C7
square
#F8F896 #96F8C7 #9696F8 #F896C7
split-complementary
#F8F896 #96C7F8 #C796F8
monochromatic
#F0F023 #F4F45D #F8F896 #FCFCCF #FDFDE2

Accessibility & contrast

On white

1.11
#F8F896 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.86
#F8F896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F896
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F896#FFFFFF#000000##000000
##F8F8961.001.1118.8618.86
#FFFFFF1.111.0021.0021.00
#00000018.8621.001.001.00
##00000018.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18E
Deuteranopia (green-blind)
#FFF49A
Tritanopia (blue-blind)
#FFEDE0
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f8f896;
/* rgb */ color: rgb(248, 248, 150);
/* oklch */ color: oklch(95.8% 0.120 108.5);
Tailwind
colors: {
  custom: {
    50: '#fcfab6',
    500: '#f8f896',
    950: '#000000',
  },
}
SCSS
$custom: #f8f896;
$custom-light: #fcfab6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f896",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 150
  },
  "hsl": {
    "h": 60,
    "s": 87.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.95814,
    "c": 0.1204,
    "h": 108.5
  },
  "luminance": 0.89293
}

Semantic roles & 50–950 ramp

primary
#F8F896
secondary
#5B5BD8
accent
#01E401
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8F896

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

Preview Lab → · Contrast checker → · Palette generator →

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