#F9F771#F9F771

#F9F771 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.2% C 0.155 H 108.2°. Best body text is #000000 at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#F9F771
RGBrgb(249, 247, 113)
HSLhsl(59, 92%, 71%)
HSVhsv(59, 55%, 98%)
CMYKcmyk(0%, 0.8%, 54.6%, 2.4%)
CIE-LABlab(95.10, -16.21, 63.45)
CIE-LCHlch(95.10, 65.49, 104.33°)
OKLaboklab(95.22% -0.0485 0.1474)
OKLCHoklch(95.22% 0.155 108.2)
XYZxyz(75.3104, 87.8556, 28.6103)
Luminance0.8785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F771 #7173F9
analogous
#F9B371 #F9F771 #B7F971
triadic
#F9F771 #71F9F7 #F771F9
tetradic
#F9F771 #71F9B3 #7173F9 #F971B7
square
#F9F771 #71F9B3 #7173F9 #F971B7
split-complementary
#F9F771 #71B7F9 #B371F9
monochromatic
#E6E30A #F7F436 #F9F771 #FBFAAC #FEFDE2

Accessibility & contrast

On white

1.13
#F9F771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.57
#F9F771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F771
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F771#FFFFFF#000000##000000
##F9F7711.001.1318.5718.57
#FFFFFF1.131.0021.0021.00
#00000018.5721.001.001.00
##00000018.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE63
Deuteranopia (green-blind)
#FFF378
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f9f771;
/* rgb */ color: rgb(249, 247, 113);
/* oklch */ color: oklch(95.2% 0.155 108.2);
Tailwind
colors: {
  custom: {
    50: '#fef99e',
    500: '#f9f771',
    950: '#000000',
  },
}
SCSS
$custom: #f9f771;
$custom-light: #fef99e;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f771",
  "rgb": {
    "r": 249,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 59.118,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.95215,
    "c": 0.15518,
    "h": 108.2
  },
  "luminance": 0.87854
}

Semantic roles & 50–950 ramp

primary
#F9F771
secondary
#3A3CD4
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F771

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

Preview Lab → · Contrast checker → · Palette generator →

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