#F9F97F#F9F97F

#F9F97F is a very light, vivid yellow. Relative luminance 0.894; OKLCH L 95.8% C 0.145 H 108.8°. Best body text is #000000 at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#F9F97F
RGBrgb(249, 249, 127)
HSLhsl(60, 91%, 74%)
HSVhsv(60, 49%, 98%)
CMYKcmyk(0%, 0%, 49%, 2.4%)
CIE-LABlab(95.76, -16.06, 57.95)
CIE-LCHlch(95.76, 60.13, 105.49°)
OKLaboklab(95.79% -0.0467 0.1369)
OKLCHoklch(95.79% 0.145 108.8)
XYZxyz(76.7751, 89.4253, 33.2910)
Luminance0.8942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F97F #7F7FF9
analogous
#F9BC7F #F9F97F #BCF97F
triadic
#F9F97F #7FF9F9 #F97FF9
tetradic
#F9F97F #7FF9BC #7F7FF9 #F97FBC
square
#F9F97F #7FF9BC #7F7FF9 #F97FBC
split-complementary
#F9F97F #7FBCF9 #BC7FF9
monochromatic
#F2F20B #F6F645 #F9F97F #FCFCB9 #FEFEE2

Accessibility & contrast

On white

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

On black

18.88
#F9F97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F97F
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F97F#FFFFFF#000000##000000
##F9F97F1.001.1118.8818.88
#FFFFFF1.111.0021.0021.00
#00000018.8821.001.001.00
##00000018.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF074
Deuteranopia (green-blind)
#FFF585
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f9f97f;
/* rgb */ color: rgb(249, 249, 127);
/* oklch */ color: oklch(95.8% 0.145 108.8);
Tailwind
colors: {
  custom: {
    50: '#fdfba7',
    500: '#f9f97f',
    950: '#000000',
  },
}
SCSS
$custom: #f9f97f;
$custom-light: #fdfba7;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f97f",
  "rgb": {
    "r": 249,
    "g": 249,
    "b": 127
  },
  "hsl": {
    "h": 60,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.95785,
    "c": 0.14462,
    "h": 108.8
  },
  "luminance": 0.89423
}

Semantic roles & 50–950 ramp

primary
#F9F97F
secondary
#4646D6
accent
#00E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #F9F97F

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

Preview Lab → · Contrast checker → · Palette generator →

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