#F9F776#F9F776

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

Color values

HEX#F9F776
RGBrgb(249, 247, 118)
HSLhsl(59, 92%, 72%)
HSVhsv(59, 53%, 98%)
CMYKcmyk(0%, 0.8%, 52.6%, 2.4%)
CIE-LABlab(95.15, -15.82, 61.30)
CIE-LCHlch(95.15, 63.31, 104.47°)
OKLaboklab(95.27% -0.0469 0.1433)
OKLCHoklch(95.27% 0.151 108.1)
XYZxyz(75.5997, 87.9713, 30.1338)
Luminance0.8797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F776 #7678F9
analogous
#F9B676 #F9F776 #BAF976
triadic
#F9F776 #76F9F7 #F776F9
tetradic
#F9F776 #76F9B6 #7678F9 #F976BA
square
#F9F776 #76F9B6 #7678F9 #F976BA
split-complementary
#F9F776 #76BAF9 #B676F9
monochromatic
#EAE70A #F6F43B #F9F776 #FCFAB1 #FEFDE2

Accessibility & contrast

On white

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

On black

18.59
#F9F776 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F776
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F776#FFFFFF#000000##000000
##F9F7761.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9f776;
/* rgb */ color: rgb(249, 247, 118);
/* oklch */ color: oklch(95.3% 0.151 108.1);
Tailwind
colors: {
  custom: {
    50: '#fef9a1',
    500: '#f9f776',
    950: '#000000',
  },
}
SCSS
$custom: #f9f776;
$custom-light: #fef9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f776",
  "rgb": {
    "r": 249,
    "g": 247,
    "b": 118
  },
  "hsl": {
    "h": 59.084,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.95269,
    "c": 0.15078,
    "h": 108.1
  },
  "luminance": 0.87969
}

Semantic roles & 50–950 ramp

primary
#F9F776
secondary
#3E41D5
accent
#04E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F776

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

Preview Lab → · Contrast checker → · Palette generator →

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