#F8FA6C#F8FA6C

#F8FA6C is a very light, vivid yellow. Relative luminance 0.894; OKLCH L 95.7% C 0.163 H 109.9°. Best body text is #000000 at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#F8FA6C
RGBrgb(248, 250, 108)
HSLhsl(61, 93%, 70%)
HSVhsv(61, 57%, 98%)
CMYKcmyk(0.8%, 0%, 56.8%, 2%)
CIE-LABlab(95.75, -18.41, 66.32)
CIE-LCHlch(95.75, 68.83, 105.52°)
OKLaboklab(95.7% -0.0553 0.153)
OKLCHoklch(95.7% 0.163 109.9)
XYZxyz(75.6059, 89.4123, 27.4600)
Luminance0.8941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA6C #6E6CFA
analogous
#FAB56C #F8FA6C #B1FA6C
triadic
#F8FA6C #6CF8FA #FA6CF8
tetradic
#F8FA6C #6CFAB5 #6E6CFA #FA6CB1
square
#F8FA6C #6CFAB5 #6E6CFA #FA6CB1
split-complementary
#F8FA6C #6CB1FA #B56CFA
monochromatic
#E1E408 #F5F831 #F8FA6C #FBFCA7 #FEFEE1

Accessibility & contrast

On white

1.11
#F8FA6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.88
#F8FA6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA6C
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA6C#FFFFFF#000000##000000
##F8FA6C1.001.1118.8818.88
#FFFFFF1.111.0021.0021.00
#00000018.8821.001.001.00
##00000018.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF05C
Deuteranopia (green-blind)
#FFF574
Tritanopia (blue-blind)
#FFECDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f8fa6c;
/* rgb */ color: rgb(248, 250, 108);
/* oklch */ color: oklch(95.7% 0.163 109.9);
Tailwind
colors: {
  custom: {
    50: '#fdfb9b',
    500: '#f8fa6c',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa6c;
$custom-light: #fdfb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa6c",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 108
  },
  "hsl": {
    "h": 60.845,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.95702,
    "c": 0.16264,
    "h": 109.9
  },
  "luminance": 0.8941
}

Semantic roles & 50–950 ramp

primary
#F8FA6C
secondary
#3835D5
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8FA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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