#F9FA47#F9FA47

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

Color values

HEX#F9FA47
RGBrgb(249, 250, 71)
HSLhsl(60, 95%, 63%)
HSVhsv(60, 72%, 98%)
CMYKcmyk(0.4%, 0%, 71.6%, 2%)
CIE-LABlab(95.57, -20.11, 80.18)
CIE-LCHlch(95.57, 82.66, 104.08°)
OKLaboklab(95.49% -0.0637 0.1768)
OKLCHoklch(95.49% 0.188 109.8)
XYZxyz(74.3925, 88.9681, 19.2138)
Luminance0.8897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FA47 #4847FA
analogous
#FAA147 #F9FA47 #A0FA47
triadic
#F9FA47 #47F9FA #FA47F9
tetradic
#F9FA47 #47FAA1 #4847FA #FA47A0
square
#F9FA47 #47FAA1 #4847FA #FA47A0
split-complementary
#F9FA47 #47A0FA #A147FA
monochromatic
#C0C105 #F7F80B #F9FA47 #FBFC83 #FDFDBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F9FA47#FFFFFF#000000##000000
##F9FA471.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)
#FFEF23
Deuteranopia (green-blind)
#FFF555
Tritanopia (blue-blind)
#FFEAD8
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f9fa47;
/* rgb */ color: rgb(249, 250, 71);
/* oklch */ color: oklch(95.5% 0.188 109.8);
Tailwind
colors: {
  custom: {
    50: '#fffb86',
    500: '#f9fa47',
    950: '#000000',
  },
}
SCSS
$custom: #f9fa47;
$custom-light: #fffb86;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fa47",
  "rgb": {
    "r": 249,
    "g": 250,
    "b": 71
  },
  "hsl": {
    "h": 60.335,
    "s": 94.709,
    "l": 62.941
  },
  "oklch": {
    "l": 0.95488,
    "c": 0.1879,
    "h": 109.8
  },
  "luminance": 0.88966
}

Semantic roles & 50–950 ramp

primary
#F9FA47
secondary
#2727BF
accent
#00E601
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170C
muted
#87857F

Preview Lab

Preview with #F9FA47

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

Preview Lab → · Contrast checker → · Palette generator →

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