#F9FA72#F9FA72

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

Color values

HEX#F9FA72
RGBrgb(249, 250, 114)
HSLhsl(60, 93%, 71%)
HSVhsv(60, 54%, 98%)
CMYKcmyk(0.4%, 0%, 54.4%, 2%)
CIE-LABlab(95.88, -17.58, 63.90)
CIE-LCHlch(95.88, 66.28, 105.38°)
OKLaboklab(95.84% -0.0523 0.1485)
OKLCHoklch(95.84% 0.157 109.4)
XYZxyz(76.2918, 89.7278, 29.2167)
Luminance0.8973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FA72 #7372FA
analogous
#FAB772 #F9FA72 #B5FA72
triadic
#F9FA72 #72F9FA #FA72F9
tetradic
#F9FA72 #72FAB7 #7372FA #FA72B5
square
#F9FA72 #72FAB7 #7372FA #FA72B5
split-complementary
#F9FA72 #72B5FA #B772FA
monochromatic
#E8E908 #F6F837 #F9FA72 #FCFCAD #FEFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F9FA72#FFFFFF#000000##000000
##F9FA721.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)
#FFF164
Deuteranopia (green-blind)
#FFF579
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f9fa72;
/* rgb */ color: rgb(249, 250, 114);
/* oklch */ color: oklch(95.8% 0.157 109.4);
Tailwind
colors: {
  custom: {
    50: '#fefb9f',
    500: '#f9fa72',
    950: '#000000',
  },
}
SCSS
$custom: #f9fa72;
$custom-light: #fefb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fa72",
  "rgb": {
    "r": 249,
    "g": 250,
    "b": 114
  },
  "hsl": {
    "h": 60.441,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95843,
    "c": 0.15743,
    "h": 109.4
  },
  "luminance": 0.89726
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9FA72

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

Preview Lab → · Contrast checker → · Palette generator →

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