#F8F875#F8F875

#F8F875 is a very light, vivid yellow. Relative luminance 0.884; OKLCH L 95.4% C 0.153 H 109.0°. Best body text is #000000 at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#F8F875
RGBrgb(248, 248, 117)
HSLhsl(60, 90%, 72%)
HSVhsv(60, 53%, 97%)
CMYKcmyk(0%, 0%, 52.8%, 2.7%)
CIE-LABlab(95.32, -16.78, 61.92)
CIE-LCHlch(95.32, 64.16, 105.16°)
OKLaboklab(95.38% -0.0497 0.1445)
OKLCHoklch(95.38% 0.153 109)
XYZxyz(75.4916, 88.3775, 29.9080)
Luminance0.8838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F875 #7575F8
analogous
#F8B775 #F8F875 #B7F875
triadic
#F8F875 #75F8F8 #F875F8
tetradic
#F8F875 #75F8B7 #7575F8 #F875B7
square
#F8F875 #75F8B7 #7575F8 #F875B7
split-complementary
#F8F875 #75B7F8 #B775F8
monochromatic
#E7E70C #F5F53B #F8F875 #FBFBAF #FEFEE2

Accessibility & contrast

On white

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

On black

18.68
#F8F875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F875
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F875#FFFFFF#000000##000000
##F8F8751.001.1218.6818.68
#FFFFFF1.121.0021.0021.00
#00000018.6821.001.001.00
##00000018.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF68
Deuteranopia (green-blind)
#FFF47C
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f875;
/* rgb */ color: rgb(248, 248, 117);
/* oklch */ color: oklch(95.4% 0.153 109.0);
Tailwind
colors: {
  custom: {
    50: '#fdfaa0',
    500: '#f8f875',
    950: '#000000',
  },
}
SCSS
$custom: #f8f875;
$custom-light: #fdfaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f875",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 117
  },
  "hsl": {
    "h": 60,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.95384,
    "c": 0.15285,
    "h": 109
  },
  "luminance": 0.88376
}

Semantic roles & 50–950 ramp

primary
#F8F875
secondary
#3E3ED3
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F875

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

Preview Lab → · Contrast checker → · Palette generator →

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