#F8FC7A#F8FC7A

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

Color values

HEX#F8FC7A
RGBrgb(248, 252, 122)
HSLhsl(62, 96%, 73%)
HSVhsv(62, 52%, 99%)
CMYKcmyk(1.6%, 0%, 51.6%, 1.2%)
CIE-LABlab(96.40, -18.32, 60.95)
CIE-LCHlch(96.40, 63.64, 106.73°)
OKLaboklab(96.26% -0.0536 0.1429)
OKLCHoklch(96.26% 0.153 110.5)
XYZxyz(77.0364, 90.9841, 31.9121)
Luminance0.9098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FC7A #7E7AFC
analogous
#FCBF7A #F8FC7A #B7FC7A
triadic
#F8FC7A #7AF8FC #FC7AF8
tetradic
#F8FC7A #7AFCBF #7E7AFC #FC7AB7
square
#F8FC7A #7AFCBF #7E7AFC #FC7AB7
split-complementary
#F8FC7A #7AB7FC #BF7AFC
monochromatic
#EFF606 #F5FB3E #F8FC7A #FBFDB6 #FDFEE1

Accessibility & contrast

On white

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

On black

19.20
#F8FC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FC7A
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FC7A#FFFFFF#000000##000000
##F8FC7A1.001.0919.2019.20
#FFFFFF1.091.0021.0021.00
#00000019.2021.001.001.00
##00000019.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8fc7a;
/* rgb */ color: rgb(248, 252, 122);
/* oklch */ color: oklch(96.3% 0.153 110.5);
Tailwind
colors: {
  custom: {
    50: '#fdfda4',
    500: '#f8fc7a',
    950: '#000000',
  },
}
SCSS
$custom: #f8fc7a;
$custom-light: #fdfda4;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fc7a",
  "rgb": {
    "r": 248,
    "g": 252,
    "b": 122
  },
  "hsl": {
    "h": 61.846,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.96264,
    "c": 0.15265,
    "h": 110.5
  },
  "luminance": 0.90982
}

Semantic roles & 50–950 ramp

primary
#F8FC7A
secondary
#4641D9
accent
#00E607
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8FC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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