#F8FC7C#F8FC7C

#F8FC7C is a very light, vivid yellow. Relative luminance 0.910; OKLCH L 96.3% C 0.151 H 110.5°. Best body text is #000000 at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#F8FC7C
RGBrgb(248, 252, 124)
HSLhsl(62, 96%, 74%)
HSVhsv(62, 51%, 99%)
CMYKcmyk(1.6%, 0%, 50.8%, 1.2%)
CIE-LABlab(96.42, -18.15, 60.08)
CIE-LCHlch(96.42, 62.76, 106.81°)
OKLaboklab(96.29% -0.0529 0.1412)
OKLCHoklch(96.29% 0.151 110.5)
XYZxyz(77.1616, 91.0342, 32.5715)
Luminance0.9103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FC7C #807CFC
analogous
#FCC07C #F8FC7C #B8FC7C
triadic
#F8FC7C #7CF8FC #FC7CF8
tetradic
#F8FC7C #7CFCC0 #807CFC #FC7CB8
square
#F8FC7C #7CFCC0 #807CFC #FC7CB8
split-complementary
#F8FC7C #7CB8FC #C07CFC
monochromatic
#F0F806 #F5FB40 #F8FC7C #FBFDB8 #FDFEE1

Accessibility & contrast

On white

1.09
#F8FC7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.21
#F8FC7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FC7C
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FC7C#FFFFFF#000000##000000
##F8FC7C1.001.0919.2119.21
#FFFFFF1.091.0021.0021.00
#00000019.2121.001.001.00
##00000019.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF370
Deuteranopia (green-blind)
#FFF783
Tritanopia (blue-blind)
#FFEFDF
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f8fc7c;
/* rgb */ color: rgb(248, 252, 124);
/* oklch */ color: oklch(96.3% 0.151 110.5);
Tailwind
colors: {
  custom: {
    50: '#fdfda5',
    500: '#f8fc7c',
    950: '#000000',
  },
}
SCSS
$custom: #f8fc7c;
$custom-light: #fdfda5;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fc7c",
  "rgb": {
    "r": 248,
    "g": 252,
    "b": 124
  },
  "hsl": {
    "h": 61.875,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.96287,
    "c": 0.15083,
    "h": 110.5
  },
  "luminance": 0.91033
}

Semantic roles & 50–950 ramp

primary
#F8FC7C
secondary
#4743DA
accent
#00E607
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8FC7C

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

Preview Lab → · Contrast checker → · Palette generator →

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