#F9FA4C#F9FA4C

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

Color values

HEX#F9FA4C
RGBrgb(249, 250, 76)
HSLhsl(60, 95%, 64%)
HSVhsv(60, 70%, 98%)
CMYKcmyk(0.4%, 0%, 69.6%, 2%)
CIE-LABlab(95.59, -19.88, 78.54)
CIE-LCHlch(95.59, 81.02, 104.21°)
OKLaboklab(95.52% -0.0626 0.1742)
OKLCHoklch(95.52% 0.185 109.8)
XYZxyz(74.5596, 89.0349, 20.0940)
Luminance0.8903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FA4C #4D4CFA
analogous
#FAA44C #F9FA4C #A2FA4C
triadic
#F9FA4C #4CF9FA #FA4CF9
tetradic
#F9FA4C #4CFAA4 #4D4CFA #FA4CA2
square
#F9FA4C #4CFAA4 #4D4CFA #FA4CA2
split-complementary
#F9FA4C #4CA2FA #A44CFA
monochromatic
#C5C606 #F7F810 #F9FA4C #FBFC88 #FDFDC3

Accessibility & contrast

On white

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

On black

18.81
#F9FA4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9FA4C
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9FA4C#FFFFFF#000000##000000
##F9FA4C1.001.1218.8118.81
#FFFFFF1.121.0021.0021.00
#00000018.8121.001.001.00
##00000018.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF02D
Deuteranopia (green-blind)
#FFF559
Tritanopia (blue-blind)
#FFEAD8
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f9fa4c;
/* rgb */ color: rgb(249, 250, 76);
/* oklch */ color: oklch(95.5% 0.185 109.8);
Tailwind
colors: {
  custom: {
    50: '#fffb89',
    500: '#f9fa4c',
    950: '#000000',
  },
}
SCSS
$custom: #f9fa4c;
$custom-light: #fffb89;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fa4c",
  "rgb": {
    "r": 249,
    "g": 250,
    "b": 76
  },
  "hsl": {
    "h": 60.345,
    "s": 94.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.9552,
    "c": 0.18506,
    "h": 109.8
  },
  "luminance": 0.89033
}

Semantic roles & 50–950 ramp

primary
#F9FA4C
secondary
#2828C3
accent
#00E601
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #F9FA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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