#F9FA6C#F9FA6C

#F9FA6C is a very light, vivid yellow. Relative luminance 0.896; OKLCH L 95.8% C 0.162 H 109.5°. Best body text is #000000 at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#F9FA6C
RGBrgb(249, 250, 108)
HSLhsl(60, 93%, 70%)
HSVhsv(60, 57%, 98%)
CMYKcmyk(0.4%, 0%, 56.8%, 2%)
CIE-LABlab(95.83, -18.02, 66.42)
CIE-LCHlch(95.83, 68.82, 105.18°)
OKLaboklab(95.78% -0.0542 0.1532)
OKLCHoklch(95.78% 0.162 109.5)
XYZxyz(75.9614, 89.5956, 27.4767)
Luminance0.8959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FA6C #6D6CFA
analogous
#FAB46C #F9FA6C #B2FA6C
triadic
#F9FA6C #6CF9FA #FA6CF9
tetradic
#F9FA6C #6CFAB4 #6D6CFA #FA6CB2
square
#F9FA6C #6CFAB4 #6D6CFA #FA6CB2
split-complementary
#F9FA6C #6CB2FA #B46CFA
monochromatic
#E2E408 #F7F831 #F9FA6C #FBFCA7 #FEFEE1

Accessibility & contrast

On white

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

On black

18.92
#F9FA6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9FA6C
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9FA6C#FFFFFF#000000##000000
##F9FA6C1.001.1118.9218.92
#FFFFFF1.111.0021.0021.00
#00000018.9221.001.001.00
##00000018.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF05C
Deuteranopia (green-blind)
#FFF574
Tritanopia (blue-blind)
#FFECDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f9fa6c;
/* rgb */ color: rgb(249, 250, 108);
/* oklch */ color: oklch(95.8% 0.162 109.5);
Tailwind
colors: {
  custom: {
    50: '#fefb9b',
    500: '#f9fa6c',
    950: '#000000',
  },
}
SCSS
$custom: #f9fa6c;
$custom-light: #fefb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fa6c",
  "rgb": {
    "r": 249,
    "g": 250,
    "b": 108
  },
  "hsl": {
    "h": 60.423,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.95781,
    "c": 0.16247,
    "h": 109.5
  },
  "luminance": 0.89594
}

Semantic roles & 50–950 ramp

primary
#F9FA6C
secondary
#3735D5
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9FA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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