#F8F899#F8F899

#F8F899 is a very light, moderate yellow. Relative luminance 0.894; OKLCH L 95.9% C 0.117 H 108.4°. Best body text is #000000 at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#F8F899
RGBrgb(248, 248, 153)
HSLhsl(60, 87%, 79%)
HSVhsv(60, 38%, 97%)
CMYKcmyk(0%, 0%, 38.3%, 2.7%)
CIE-LABlab(95.74, -13.48, 45.62)
CIE-LCHlch(95.74, 47.57, 106.46°)
OKLaboklab(95.86% -0.037 0.1112)
OKLCHoklch(95.86% 0.117 108.4)
XYZxyz(78.0296, 89.3927, 43.2749)
Luminance0.8939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F899 #9999F8
analogous
#F8C899 #F8F899 #C8F899
triadic
#F8F899 #99F8F8 #F899F8
tetradic
#F8F899 #99F8C8 #9999F8 #F899C8
square
#F8F899 #99F8C8 #9999F8 #F899C8
split-complementary
#F8F899 #99C8F8 #C899F8
monochromatic
#F0F026 #F4F460 #F8F899 #FCFCD2 #FDFDE2

Accessibility & contrast

On white

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

On black

18.88
#F8F899 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F899
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F899#FFFFFF#000000##000000
##F8F8991.001.1118.8818.88
#FFFFFF1.111.0021.0021.00
#00000018.8821.001.001.00
##00000018.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF192
Deuteranopia (green-blind)
#FFF59D
Tritanopia (blue-blind)
#FFEDE1
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f8f899;
/* rgb */ color: rgb(248, 248, 153);
/* oklch */ color: oklch(95.9% 0.117 108.4);
Tailwind
colors: {
  custom: {
    50: '#fcfab8',
    500: '#f8f899',
    950: '#000000',
  },
}
SCSS
$custom: #f8f899;
$custom-light: #fcfab8;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f899",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 153
  },
  "hsl": {
    "h": 60,
    "s": 87.156,
    "l": 78.627
  },
  "oklch": {
    "l": 0.95859,
    "c": 0.11718,
    "h": 108.4
  },
  "luminance": 0.89391
}

Semantic roles & 50–950 ramp

primary
#F8F899
secondary
#5D5DD8
accent
#02E402
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8F899

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

Preview Lab → · Contrast checker → · Palette generator →

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