#F9FA8A#F9FA8A

#F9FA8A is a very light, vivid yellow. Relative luminance 0.903; OKLCH L 96.1% C 0.135 H 109.1°. Best body text is #000000 at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#F9FA8A
RGBrgb(249, 250, 138)
HSLhsl(61, 92%, 76%)
HSVhsv(61, 45%, 98%)
CMYKcmyk(0.4%, 0%, 44.8%, 2%)
CIE-LABlab(96.14, -15.56, 53.31)
CIE-LCHlch(96.14, 55.53, 106.28°)
OKLaboklab(96.13% -0.0443 0.1275)
OKLCHoklch(96.13% 0.135 109.1)
XYZxyz(77.8414, 90.3476, 37.3781)
Luminance0.9035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FA8A #8B8AFA
analogous
#FAC38A #F9FA8A #C1FA8A
triadic
#F9FA8A #8AF9FA #FA8AF9
tetradic
#F9FA8A #8AFAC3 #8B8AFA #FA8AC1
square
#F9FA8A #8AFAC3 #8B8AFA #FA8AC1
split-complementary
#F9FA8A #8AC1FA #C38AFA
monochromatic
#F3F515 #F6F74F #F9FA8A #FCFDC5 #FDFEE2

Accessibility & contrast

On white

1.10
#F9FA8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.07
#F9FA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9FA8A
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9FA8A#FFFFFF#000000##000000
##F9FA8A1.001.1019.0719.07
#FFFFFF1.101.0021.0021.00
#00000019.0721.001.001.00
##00000019.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF281
Deuteranopia (green-blind)
#FFF68F
Tritanopia (blue-blind)
#FFEEE0
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f9fa8a;
/* rgb */ color: rgb(249, 250, 138);
/* oklch */ color: oklch(96.1% 0.135 109.1);
Tailwind
colors: {
  custom: {
    50: '#fdfbae',
    500: '#f9fa8a',
    950: '#000000',
  },
}
SCSS
$custom: #f9fa8a;
$custom-light: #fdfbae;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fa8a",
  "rgb": {
    "r": 249,
    "g": 250,
    "b": 138
  },
  "hsl": {
    "h": 60.536,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.96131,
    "c": 0.135,
    "h": 109.1
  },
  "luminance": 0.90346
}

Semantic roles & 50–950 ramp

primary
#F9FA8A
secondary
#514FD9
accent
#00E602
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F9FA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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