#F8F87F#F8F87F

#F8F87F is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.5% C 0.144 H 108.8°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#F8F87F
RGBrgb(248, 248, 127)
HSLhsl(60, 90%, 74%)
HSVhsv(60, 49%, 97%)
CMYKcmyk(0%, 0%, 48.8%, 2.7%)
CIE-LABlab(95.42, -15.97, 57.53)
CIE-LCHlch(95.42, 59.71, 105.51°)
OKLaboklab(95.5% -0.0464 0.136)
OKLCHoklch(95.5% 0.144 108.8)
XYZxyz(76.1113, 88.6254, 33.1716)
Luminance0.8862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F87F #7F7FF8
analogous
#F8BB7F #F8F87F #BBF87F
triadic
#F8F87F #7FF8F8 #F87FF8
tetradic
#F8F87F #7FF8BB #7F7FF8 #F87FBB
square
#F8F87F #7FF8BB #7F7FF8 #F87FBB
split-complementary
#F8F87F #7FBBF8 #BB7FF8
monochromatic
#F0F00D #F5F545 #F8F87F #FBFBB9 #FDFDE2

Accessibility & contrast

On white

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

On black

18.72
#F8F87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F87F
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F87F#FFFFFF#000000##000000
##F8F87F1.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF74
Deuteranopia (green-blind)
#FFF485
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f8f87f;
/* rgb */ color: rgb(248, 248, 127);
/* oklch */ color: oklch(95.5% 0.144 108.8);
Tailwind
colors: {
  custom: {
    50: '#fdfaa7',
    500: '#f8f87f',
    950: '#000000',
  },
}
SCSS
$custom: #f8f87f;
$custom-light: #fdfaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f87f",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 60,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.955,
    "c": 0.14368,
    "h": 108.8
  },
  "luminance": 0.88624
}

Semantic roles & 50–950 ramp

primary
#F8F87F
secondary
#4646D5
accent
#00E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #F8F87F

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

Preview Lab → · Contrast checker → · Palette generator →

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