#F9FAC2#F9FAC2

#F9FAC2 is a very light, moderate yellow. Relative luminance 0.924; OKLCH L 97.1% C 0.072 H 108.5°. Best body text is #000000 at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#F9FAC2
RGBrgb(249, 250, 194)
HSLhsl(61, 85%, 87%)
HSVhsv(61, 22%, 98%)
CMYKcmyk(0.4%, 0%, 22.4%, 2%)
CIE-LABlab(96.99, -9.12, 26.84)
CIE-LCHlch(96.99, 28.35, 108.76°)
OKLaboklab(97.08% -0.0228 0.0681)
OKLCHoklch(97.08% 0.072 108.5)
XYZxyz(82.9898, 92.4070, 64.4929)
Luminance0.9241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FAC2 #C3C2FA
analogous
#FADFC2 #F9FAC2 #DDFAC2
triadic
#F9FAC2 #C2F9FA #FAC2F9
tetradic
#F9FAC2 #C2FADF #C3C2FA #FAC2DD
square
#F9FAC2 #C2FADF #C3C2FA #FAC2DD
split-complementary
#F9FAC2 #C2DDFA #DFC2FA
monochromatic
#EEF151 #F3F589 #F9FAC2 #FCFDE3 #FCFDE3

Accessibility & contrast

On white

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

On black

19.48
#F9FAC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9FAC2
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9FAC2#FFFFFF#000000##000000
##F9FAC21.001.0819.4819.48
#FFFFFF1.081.0021.0021.00
#00000019.4821.001.001.00
##00000019.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5BE
Deuteranopia (green-blind)
#FFF7C4
Tritanopia (blue-blind)
#FFF3EB
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f9fac2;
/* rgb */ color: rgb(249, 250, 194);
/* oklch */ color: oklch(97.1% 0.072 108.5);
Tailwind
colors: {
  custom: {
    50: '#fbfbd4',
    500: '#f9fac2',
    950: '#000000',
  },
}
SCSS
$custom: #f9fac2;
$custom-light: #fbfbd4;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fac2",
  "rgb": {
    "r": 249,
    "g": 250,
    "b": 194
  },
  "hsl": {
    "h": 61.071,
    "s": 84.848,
    "l": 87.059
  },
  "oklch": {
    "l": 0.97078,
    "c": 0.07183,
    "h": 108.5
  },
  "luminance": 0.92406
}

Semantic roles & 50–950 ramp

primary
#F9FAC2
secondary
#8381DF
accent
#04E108
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#171714
muted
#858583

Preview Lab

Preview with #F9FAC2

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

Preview Lab → · Contrast checker → · Palette generator →

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