#F9FA74#F9FA74

#F9FA74 is a very light, vivid yellow. Relative luminance 0.898; OKLCH L 95.9% C 0.156 H 109.4°. Best body text is #000000 at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#F9FA74
RGBrgb(249, 250, 116)
HSLhsl(60, 93%, 72%)
HSVhsv(60, 54%, 98%)
CMYKcmyk(0.4%, 0%, 53.6%, 2%)
CIE-LABlab(95.90, -17.43, 63.05)
CIE-LCHlch(95.90, 65.42, 105.45°)
OKLaboklab(95.86% -0.0517 0.1469)
OKLCHoklch(95.86% 0.156 109.4)
XYZxyz(76.4069, 89.7738, 29.8228)
Luminance0.8977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FA74 #7574FA
analogous
#FAB874 #F9FA74 #B6FA74
triadic
#F9FA74 #74F9FA #FA74F9
tetradic
#F9FA74 #74FAB8 #7574FA #FA74B6
square
#F9FA74 #74FAB8 #7574FA #FA74B6
split-complementary
#F9FA74 #74B6FA #B874FA
monochromatic
#E9EB08 #F6F839 #F9FA74 #FCFCAF #FEFEE1

Accessibility & contrast

On white

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

On black

18.95
#F9FA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9FA74
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9FA74#FFFFFF#000000##000000
##F9FA741.001.1118.9518.95
#FFFFFF1.111.0021.0021.00
#00000018.9521.001.001.00
##00000018.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9fa74;
/* rgb */ color: rgb(249, 250, 116);
/* oklch */ color: oklch(95.9% 0.156 109.4);
Tailwind
colors: {
  custom: {
    50: '#fefba0',
    500: '#f9fa74',
    950: '#000000',
  },
}
SCSS
$custom: #f9fa74;
$custom-light: #fefba0;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fa74",
  "rgb": {
    "r": 249,
    "g": 250,
    "b": 116
  },
  "hsl": {
    "h": 60.448,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95864,
    "c": 0.15569,
    "h": 109.4
  },
  "luminance": 0.89772
}

Semantic roles & 50–950 ramp

primary
#F9FA74
secondary
#3D3CD6
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9FA74

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

Preview Lab → · Contrast checker → · Palette generator →

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