#F8F87D#F8F87D

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

Color values

HEX#F8F87D
RGBrgb(248, 248, 125)
HSLhsl(60, 90%, 73%)
HSVhsv(60, 50%, 97%)
CMYKcmyk(0%, 0%, 49.6%, 2.7%)
CIE-LABlab(95.40, -16.14, 58.42)
CIE-LCHlch(95.40, 60.61, 105.44°)
OKLaboklab(95.48% -0.0471 0.1377)
OKLCHoklch(95.48% 0.146 108.9)
XYZxyz(75.9822, 88.5738, 32.4919)
Luminance0.8857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F87D #7D7DF8
analogous
#F8BA7D #F8F87D #BAF87D
triadic
#F8F87D #7DF8F8 #F87DF8
tetradic
#F8F87D #7DF8BA #7D7DF8 #F87DBA
square
#F8F87D #7DF8BA #7D7DF8 #F87DBA
split-complementary
#F8F87D #7DBAF8 #BA7DF8
monochromatic
#EEEE0D #F5F543 #F8F87D #FBFBB7 #FDFDE2

Accessibility & contrast

On white

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

On black

18.71
#F8F87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F87D
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F87D#FFFFFF#000000##000000
##F8F87D1.001.1218.7118.71
#FFFFFF1.121.0021.0021.00
#00000018.7121.001.001.00
##00000018.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f87d;
/* rgb */ color: rgb(248, 248, 125);
/* oklch */ color: oklch(95.5% 0.146 108.9);
Tailwind
colors: {
  custom: {
    50: '#fdfaa5',
    500: '#f8f87d',
    950: '#000000',
  },
}
SCSS
$custom: #f8f87d;
$custom-light: #fdfaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f87d",
  "rgb": {
    "r": 248,
    "g": 248,
    "b": 125
  },
  "hsl": {
    "h": 60,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.95476,
    "c": 0.14556,
    "h": 108.9
  },
  "luminance": 0.88572
}

Semantic roles & 50–950 ramp

primary
#F8F87D
secondary
#4545D4
accent
#00E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #F8F87D

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

Preview Lab → · Contrast checker → · Palette generator →

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