#F8FA53#F8FA53

#F8FA53 is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.5% C 0.181 H 110.1°. Best body text is #000000 at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#F8FA53
RGBrgb(248, 250, 83)
HSLhsl(61, 94%, 65%)
HSVhsv(61, 67%, 98%)
CMYKcmyk(0.8%, 0%, 66.8%, 2%)
CIE-LABlab(95.56, -19.94, 76.01)
CIE-LCHlch(95.56, 78.58, 104.70°)
OKLaboklab(95.49% -0.0621 0.17)
OKLCHoklch(95.49% 0.181 110.1)
XYZxyz(74.4608, 88.9543, 21.4295)
Luminance0.8895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA53 #5553FA
analogous
#FAA953 #F8FA53 #A4FA53
triadic
#F8FA53 #53F8FA #FA53F8
tetradic
#F8FA53 #53FAA9 #5553FA #FA53A4
square
#F8FA53 #53FAA9 #5553FA #FA53A4
split-complementary
#F8FA53 #53A4FA #A953FA
monochromatic
#CACD06 #F6F818 #F8FA53 #FAFC8E #FDFDCA

Accessibility & contrast

On white

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

On black

18.79
#F8FA53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA53
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA53#FFFFFF#000000##000000
##F8FA531.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF039
Deuteranopia (green-blind)
#FFF55F
Tritanopia (blue-blind)
#FFEBD9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f8fa53;
/* rgb */ color: rgb(248, 250, 83);
/* oklch */ color: oklch(95.5% 0.181 110.1);
Tailwind
colors: {
  custom: {
    50: '#fefb8c',
    500: '#f8fa53',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa53;
$custom-light: #fefb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa53",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 83
  },
  "hsl": {
    "h": 60.719,
    "s": 94.35,
    "l": 65.294
  },
  "oklch": {
    "l": 0.95488,
    "c": 0.18097,
    "h": 110.1
  },
  "luminance": 0.88952
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8FA53

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

Preview Lab → · Contrast checker → · Palette generator →

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