#F8F885#F8F885

#F8F885 is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.6% C 0.138 H 108.7°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#F8F885
RGBrgb(248, 248, 133)
HSLhsl(60, 89%, 75%)
HSVhsv(60, 46%, 97%)
CMYKcmyk(0%, 0%, 46.4%, 2.7%)
CIE-LABlab(95.49, -15.44, 54.84)
CIE-LCHlch(95.49, 56.97, 105.72°)
OKLaboklab(95.58% -0.0443 0.1306)
OKLCHoklch(95.58% 0.138 108.7)
XYZxyz(76.5140, 88.7865, 35.2927)
Luminance0.8879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F885 #8585F8
analogous
#F8BF85 #F8F885 #BFF885
triadic
#F8F885 #85F8F8 #F885F8
tetradic
#F8F885 #85F8BF #8585F8 #F885BF
square
#F8F885 #85F8BF #8585F8 #F885BF
split-complementary
#F8F885 #85BFF8 #BF85F8
monochromatic
#F1F111 #F5F54B #F8F885 #FBFBBF #FDFDE2

Accessibility & contrast

On white

1.12
#F8F885 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.76
#F8F885 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F885
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F885#FFFFFF#000000##000000
##F8F8851.001.1218.7618.76
#FFFFFF1.121.0021.0021.00
#00000018.7621.001.001.00
##00000018.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF07B
Deuteranopia (green-blind)
#FFF48B
Tritanopia (blue-blind)
#FFEBDD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f8f885;
/* rgb */ color: rgb(248, 248, 133);
/* oklch */ color: oklch(95.6% 0.138 108.7);
Tailwind
colors: {
  custom: {
    50: '#fcfaab',
    500: '#f8f885',
    950: '#000000',
  },
}
SCSS
$custom: #f8f885;
$custom-light: #fcfaab;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f885",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 133
  },
  "hsl": {
    "h": 60,
    "s": 89.147,
    "l": 74.706
  },
  "oklch": {
    "l": 0.95576,
    "c": 0.13789,
    "h": 108.7
  },
  "luminance": 0.88785
}

Semantic roles & 50–950 ramp

primary
#F8F885
secondary
#4C4CD5
accent
#00E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8F885

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

Preview Lab → · Contrast checker → · Palette generator →

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