#F9F772#F9F772

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

Color values

HEX#F9F772
RGBrgb(249, 247, 114)
HSLhsl(59, 92%, 71%)
HSVhsv(59, 54%, 98%)
CMYKcmyk(0%, 0.8%, 54.2%, 2.4%)
CIE-LABlab(95.11, -16.13, 63.02)
CIE-LCHlch(95.11, 65.06, 104.36°)
OKLaboklab(95.23% -0.0482 0.1466)
OKLCHoklch(95.23% 0.154 108.2)
XYZxyz(75.3670, 87.8782, 28.9084)
Luminance0.8788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F772 #7274F9
analogous
#F9B372 #F9F772 #B7F972
triadic
#F9F772 #72F9F7 #F772F9
tetradic
#F9F772 #72F9B3 #7274F9 #F972B7
square
#F9F772 #72F9B3 #7274F9 #F972B7
split-complementary
#F9F772 #72B7F9 #B372F9
monochromatic
#E7E40A #F7F437 #F9F772 #FBFAAD #FEFDE2

Accessibility & contrast

On white

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

On black

18.58
#F9F772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F772
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F772#FFFFFF#000000##000000
##F9F7721.001.1318.5818.58
#FFFFFF1.131.0021.0021.00
#00000018.5821.001.001.00
##00000018.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9f772;
/* rgb */ color: rgb(249, 247, 114);
/* oklch */ color: oklch(95.2% 0.154 108.2);
Tailwind
colors: {
  custom: {
    50: '#fef99e',
    500: '#f9f772',
    950: '#000000',
  },
}
SCSS
$custom: #f9f772;
$custom-light: #fef99e;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f772",
  "rgb": {
    "r": 249,
    "g": 247,
    "b": 114
  },
  "hsl": {
    "h": 59.111,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.95226,
    "c": 0.15431,
    "h": 108.2
  },
  "luminance": 0.87876
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9F772

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

Preview Lab → · Contrast checker → · Palette generator →

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