#F9F76F#F9F76F

#F9F76F is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.2% C 0.157 H 108.3°. Best body text is #000000 at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#F9F76F
RGBrgb(249, 247, 111)
HSLhsl(59, 92%, 71%)
HSVhsv(59, 55%, 98%)
CMYKcmyk(0%, 0.8%, 55.4%, 2.4%)
CIE-LABlab(95.08, -16.35, 64.30)
CIE-LCHlch(95.08, 66.35, 104.27°)
OKLaboklab(95.19% -0.0492 0.149)
OKLCHoklch(95.19% 0.157 108.3)
XYZxyz(75.1991, 87.8110, 28.0238)
Luminance0.8781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F76F #6F71F9
analogous
#F9B26F #F9F76F #B6F96F
triadic
#F9F76F #6FF9F7 #F76FF9
tetradic
#F9F76F #6FF9B2 #6F71F9 #F96FB6
square
#F9F76F #6FF9B2 #6F71F9 #F96FB6
split-complementary
#F9F76F #6FB6F9 #B26FF9
monochromatic
#E4E10A #F7F434 #F9F76F #FBFAAA #FEFDE2

Accessibility & contrast

On white

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

On black

18.56
#F9F76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F76F
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F76F#FFFFFF#000000##000000
##F9F76F1.001.1318.5618.56
#FFFFFF1.131.0021.0021.00
#00000018.5621.001.001.00
##00000018.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE61
Deuteranopia (green-blind)
#FFF376
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f9f76f;
/* rgb */ color: rgb(249, 247, 111);
/* oklch */ color: oklch(95.2% 0.157 108.3);
Tailwind
colors: {
  custom: {
    50: '#fef99d',
    500: '#f9f76f',
    950: '#000000',
  },
}
SCSS
$custom: #f9f76f;
$custom-light: #fef99d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f76f",
  "rgb": {
    "r": 249,
    "g": 247,
    "b": 111
  },
  "hsl": {
    "h": 59.13,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.95194,
    "c": 0.15688,
    "h": 108.3
  },
  "luminance": 0.87809
}

Semantic roles & 50–950 ramp

primary
#F9F76F
secondary
#383AD4
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F76F

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

Preview Lab → · Contrast checker → · Palette generator →

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