#F9FAB7#F9FAB7

#F9FAB7 is a very light, moderate yellow. Relative luminance 0.919; OKLCH L 96.9% C 0.085 H 108.6°. Best body text is #000000 at 19.39:1 contrast (WCAG AA passes).

Color values

HEX#F9FAB7
RGBrgb(249, 250, 183)
HSLhsl(61, 87%, 85%)
HSVhsv(61, 27%, 98%)
CMYKcmyk(0.4%, 0%, 26.8%, 2%)
CIE-LABlab(96.79, -10.57, 32.13)
CIE-LCHlch(96.79, 33.83, 108.21°)
OKLaboklab(96.86% -0.0272 0.0807)
OKLCHoklch(96.86% 0.085 108.6)
XYZxyz(81.7999, 91.9310, 58.2258)
Luminance0.9193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FAB7 #B8B7FA
analogous
#FADAB7 #F9FAB7 #D7FAB7
triadic
#F9FAB7 #B7F9FA #FAB7F9
tetradic
#F9FAB7 #B7FADA #B8B7FA #FAB7D7
square
#F9FAB7 #B7FADA #B8B7FA #FAB7D7
split-complementary
#F9FAB7 #B7D7FA #DAB7FA
monochromatic
#EFF245 #F4F67E #F9FAB7 #FDFDE2 #FDFDE2

Accessibility & contrast

On white

1.08
#F9FAB7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.39
#F9FAB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9FAB7
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9FAB7#FFFFFF#000000##000000
##F9FAB71.001.0819.3919.39
#FFFFFF1.081.0021.0021.00
#00000019.3921.001.001.00
##00000019.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4B3
Deuteranopia (green-blind)
#FFF7BA
Tritanopia (blue-blind)
#FFF2E8
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f9fab7;
/* rgb */ color: rgb(249, 250, 183);
/* oklch */ color: oklch(96.9% 0.085 108.6);
Tailwind
colors: {
  custom: {
    50: '#fcfbcd',
    500: '#f9fab7',
    950: '#000000',
  },
}
SCSS
$custom: #f9fab7;
$custom-light: #fcfbcd;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fab7",
  "rgb": {
    "r": 249,
    "g": 250,
    "b": 183
  },
  "hsl": {
    "h": 60.896,
    "s": 87.013,
    "l": 84.902
  },
  "oklch": {
    "l": 0.9686,
    "c": 0.08515,
    "h": 108.6
  },
  "luminance": 0.9193
}

Semantic roles & 50–950 ramp

primary
#F9FAB7
secondary
#7977DE
accent
#02E405
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#171713
muted
#858583

Preview Lab

Preview with #F9FAB7

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

Preview Lab → · Contrast checker → · Palette generator →

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