#F9F977#F9F977

#F9F977 is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.7% C 0.152 H 109.0°. Best body text is #000000 at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#F9F977
RGBrgb(249, 249, 119)
HSLhsl(60, 92%, 72%)
HSVhsv(60, 52%, 98%)
CMYKcmyk(0%, 0%, 52.2%, 2.4%)
CIE-LABlab(95.67, -16.71, 61.46)
CIE-LCHlch(95.67, 63.69, 105.21°)
OKLaboklab(95.69% -0.0494 0.1437)
OKLCHoklch(95.69% 0.152 109)
XYZxyz(76.2743, 89.2249, 30.6534)
Luminance0.8922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F977 #7777F9
analogous
#F9B877 #F9F977 #B8F977
triadic
#F9F977 #77F9F9 #F977F9
tetradic
#F9F977 #77F9B8 #7777F9 #F977B8
square
#F9F977 #77F9B8 #7777F9 #F977B8
split-complementary
#F9F977 #77B8F9 #B877F9
monochromatic
#EBEB0A #F6F63C #F9F977 #FCFCB2 #FEFEE2

Accessibility & contrast

On white

1.11
#F9F977 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.84
#F9F977 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F977
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F977#FFFFFF#000000##000000
##F9F9771.001.1118.8418.84
#FFFFFF1.111.0021.0021.00
#00000018.8421.001.001.00
##00000018.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF06A
Deuteranopia (green-blind)
#FFF57E
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f9f977;
/* rgb */ color: rgb(249, 249, 119);
/* oklch */ color: oklch(95.7% 0.152 109.0);
Tailwind
colors: {
  custom: {
    50: '#fefba2',
    500: '#f9f977',
    950: '#000000',
  },
}
SCSS
$custom: #f9f977;
$custom-light: #fefba2;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f977",
  "rgb": {
    "r": 249,
    "g": 249,
    "b": 119
  },
  "hsl": {
    "h": 60,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.95691,
    "c": 0.15199,
    "h": 109
  },
  "luminance": 0.89223
}

Semantic roles & 50–950 ramp

primary
#F9F977
secondary
#3F3FD5
accent
#00E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F977

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

Preview Lab → · Contrast checker → · Palette generator →

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