#F9F77A#F9F77A

#F9F77A is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.3% C 0.147 H 108.1°. Best body text is #000000 at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#F9F77A
RGBrgb(249, 247, 122)
HSLhsl(59, 91%, 73%)
HSVhsv(59, 51%, 98%)
CMYKcmyk(0%, 0.8%, 51%, 2.4%)
CIE-LABlab(95.19, -15.50, 59.55)
CIE-LCHlch(95.19, 61.54, 104.59°)
OKLaboklab(95.32% -0.0456 0.1399)
OKLCHoklch(95.32% 0.147 108.1)
XYZxyz(75.8424, 88.0684, 31.4123)
Luminance0.8807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F77A #7A7CF9
analogous
#F9B77A #F9F77A #BCF97A
triadic
#F9F77A #7AF9F7 #F77AF9
tetradic
#F9F77A #7AF9B7 #7A7CF9 #F97ABC
square
#F9F77A #7AF9B7 #7A7CF9 #F97ABC
split-complementary
#F9F77A #7ABCF9 #B77AF9
monochromatic
#EEEA0B #F6F33F #F9F77A #FCFBB5 #FEFDE2

Accessibility & contrast

On white

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

On black

18.61
#F9F77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F77A
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F77A#FFFFFF#000000##000000
##F9F77A1.001.1318.6118.61
#FFFFFF1.131.0021.0021.00
#00000018.6121.001.001.00
##00000018.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6E
Deuteranopia (green-blind)
#FFF380
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f9f77a;
/* rgb */ color: rgb(249, 247, 122);
/* oklch */ color: oklch(95.3% 0.147 108.1);
Tailwind
colors: {
  custom: {
    50: '#fef9a4',
    500: '#f9f77a',
    950: '#000000',
  },
}
SCSS
$custom: #f9f77a;
$custom-light: #fef9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f77a",
  "rgb": {
    "r": 249,
    "g": 247,
    "b": 122
  },
  "hsl": {
    "h": 59.055,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.95315,
    "c": 0.14715,
    "h": 108.1
  },
  "luminance": 0.88066
}

Semantic roles & 50–950 ramp

primary
#F9F77A
secondary
#4244D5
accent
#04E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F77A

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

Preview Lab → · Contrast checker → · Palette generator →

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