#F8FA6F#F8FA6F

#F8FA6F is a very light, vivid yellow. Relative luminance 0.895; OKLCH L 95.7% C 0.160 H 109.8°. Best body text is #000000 at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#F8FA6F
RGBrgb(248, 250, 111)
HSLhsl(61, 93%, 71%)
HSVhsv(61, 56%, 98%)
CMYKcmyk(0.8%, 0%, 55.6%, 2%)
CIE-LABlab(95.78, -18.20, 65.06)
CIE-LCHlch(95.78, 67.56, 105.63°)
OKLaboklab(95.73% -0.0543 0.1506)
OKLCHoklch(95.73% 0.16 109.8)
XYZxyz(75.7683, 89.4772, 28.3154)
Luminance0.8948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA6F #716FFA
analogous
#FAB66F #F8FA6F #B2FA6F
triadic
#F8FA6F #6FF8FA #FA6FF8
tetradic
#F8FA6F #6FFAB6 #716FFA #FA6FB2
square
#F8FA6F #6FFAB6 #716FFA #FA6FB2
split-complementary
#F8FA6F #6FB2FA #B66FFA
monochromatic
#E3E708 #F5F834 #F8FA6F #FBFCAA #FEFEE1

Accessibility & contrast

On white

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

On black

18.90
#F8FA6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA6F
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA6F#FFFFFF#000000##000000
##F8FA6F1.001.1118.9018.90
#FFFFFF1.111.0021.0021.00
#00000018.9021.001.001.00
##00000018.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF060
Deuteranopia (green-blind)
#FFF577
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f8fa6f;
/* rgb */ color: rgb(248, 250, 111);
/* oklch */ color: oklch(95.7% 0.160 109.8);
Tailwind
colors: {
  custom: {
    50: '#fdfb9d',
    500: '#f8fa6f',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa6f;
$custom-light: #fdfb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa6f",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 111
  },
  "hsl": {
    "h": 60.863,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.95732,
    "c": 0.16014,
    "h": 109.8
  },
  "luminance": 0.89475
}

Semantic roles & 50–950 ramp

primary
#F8FA6F
secondary
#3A38D5
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8FA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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