#F9FA5F#F9FA5F

#F9FA5F is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.7% C 0.173 H 109.6°. Best body text is #000000 at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#F9FA5F
RGBrgb(249, 250, 95)
HSLhsl(60, 94%, 68%)
HSVhsv(60, 62%, 98%)
CMYKcmyk(0.4%, 0%, 62%, 2%)
CIE-LABlab(95.72, -18.87, 71.64)
CIE-LCHlch(95.72, 74.08, 104.75°)
OKLaboklab(95.66% -0.0579 0.1625)
OKLCHoklch(95.66% 0.173 109.6)
XYZxyz(75.3204, 89.3392, 24.1008)
Luminance0.8934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FA5F #605FFA
analogous
#FAAD5F #F9FA5F #ACFA5F
triadic
#F9FA5F #5FF9FA #FA5FF9
tetradic
#F9FA5F #5FFAAD #605FFA #FA5FAC
square
#F9FA5F #5FFAAD #605FFA #FA5FAC
split-complementary
#F9FA5F #5FACFA #AD5FFA
monochromatic
#D7D807 #F7F824 #F9FA5F #FBFC9A #FDFED6

Accessibility & contrast

On white

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

On black

18.87
#F9FA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9FA5F
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9FA5F#FFFFFF#000000##000000
##F9FA5F1.001.1118.8718.87
#FFFFFF1.111.0021.0021.00
#00000018.8721.001.001.00
##00000018.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF04B
Deuteranopia (green-blind)
#FFF569
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f9fa5f;
/* rgb */ color: rgb(249, 250, 95);
/* oklch */ color: oklch(95.7% 0.173 109.6);
Tailwind
colors: {
  custom: {
    50: '#fefb93',
    500: '#f9fa5f',
    950: '#000000',
  },
}
SCSS
$custom: #f9fa5f;
$custom-light: #fefb93;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fa5f",
  "rgb": {
    "r": 249,
    "g": 250,
    "b": 95
  },
  "hsl": {
    "h": 60.387,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.95662,
    "c": 0.17255,
    "h": 109.6
  },
  "luminance": 0.89337
}

Semantic roles & 50–950 ramp

primary
#F9FA5F
secondary
#2C2BD2
accent
#00E601
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9FA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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