#F8FA4D#F8FA4D

#F8FA4D is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.4% C 0.185 H 110.1°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#F8FA4D
RGBrgb(248, 250, 77)
HSLhsl(61, 95%, 64%)
HSVhsv(61, 69%, 98%)
CMYKcmyk(0.8%, 0%, 69.2%, 2%)
CIE-LABlab(95.52, -20.24, 78.10)
CIE-LCHlch(95.52, 80.68, 104.53°)
OKLaboklab(95.45% -0.0635 0.1734)
OKLCHoklch(95.45% 0.185 110.1)
XYZxyz(74.2391, 88.8656, 20.2618)
Luminance0.8886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA4D #4F4DFA
analogous
#FAA64D #F8FA4D #A1FA4D
triadic
#F8FA4D #4DF8FA #FA4DF8
tetradic
#F8FA4D #4DFAA6 #4F4DFA #FA4DA1
square
#F8FA4D #4DFAA6 #4F4DFA #FA4DA1
split-complementary
#F8FA4D #4DA1FA #A64DFA
monochromatic
#C5C706 #F6F811 #F8FA4D #FAFC89 #FDFDC4

Accessibility & contrast

On white

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

On black

18.77
#F8FA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA4D
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA4D#FFFFFF#000000##000000
##F8FA4D1.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF2F
Deuteranopia (green-blind)
#FFF55A
Tritanopia (blue-blind)
#FFEBD8
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f8fa4d;
/* rgb */ color: rgb(248, 250, 77);
/* oklch */ color: oklch(95.4% 0.185 110.1);
Tailwind
colors: {
  custom: {
    50: '#fefb89',
    500: '#f8fa4d',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa4d;
$custom-light: #fefb89;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa4d",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 77
  },
  "hsl": {
    "h": 60.694,
    "s": 94.536,
    "l": 64.118
  },
  "oklch": {
    "l": 0.95446,
    "c": 0.18467,
    "h": 110.1
  },
  "luminance": 0.88863
}

Semantic roles & 50–950 ramp

primary
#F8FA4D
secondary
#2A28C3
accent
#00E603
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #F8FA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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