#F8FA5C#F8FA5C

#F8FA5C is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.6% C 0.175 H 110.0°. Best body text is #000000 at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#F8FA5C
RGBrgb(248, 250, 92)
HSLhsl(61, 94%, 67%)
HSVhsv(61, 63%, 98%)
CMYKcmyk(0.8%, 0%, 63.2%, 2%)
CIE-LABlab(95.62, -19.44, 72.69)
CIE-LCHlch(95.62, 75.25, 104.98°)
OKLaboklab(95.56% -0.0598 0.1644)
OKLCHoklch(95.56% 0.175 110)
XYZxyz(74.8311, 89.1024, 23.3797)
Luminance0.8910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA5C #5E5CFA
analogous
#FAAD5C #F8FA5C #A9FA5C
triadic
#F8FA5C #5CF8FA #FA5CF8
tetradic
#F8FA5C #5CFAAD #5E5CFA #FA5CA9
square
#F8FA5C #5CFAAD #5E5CFA #FA5CA9
split-complementary
#F8FA5C #5CA9FA #AD5CFA
monochromatic
#D2D507 #F5F821 #F8FA5C #FBFC97 #FDFED3

Accessibility & contrast

On white

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

On black

18.82
#F8FA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA5C
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA5C#FFFFFF#000000##000000
##F8FA5C1.001.1218.8218.82
#FFFFFF1.121.0021.0021.00
#00000018.8221.001.001.00
##00000018.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF047
Deuteranopia (green-blind)
#FFF566
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f8fa5c;
/* rgb */ color: rgb(248, 250, 92);
/* oklch */ color: oklch(95.6% 0.175 110.0);
Tailwind
colors: {
  custom: {
    50: '#fefb91',
    500: '#f8fa5c',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa5c;
$custom-light: #fefb91;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa5c",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 92
  },
  "hsl": {
    "h": 60.759,
    "s": 94.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.95557,
    "c": 0.17489,
    "h": 110
  },
  "luminance": 0.891
}

Semantic roles & 50–950 ramp

primary
#F8FA5C
secondary
#2D2BCF
accent
#00E603
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F8FA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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