#F9F97B#F9F97B

#F9F97B is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.7% C 0.148 H 108.9°. Best body text is #000000 at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#F9F97B
RGBrgb(249, 249, 123)
HSLhsl(60, 91%, 73%)
HSVhsv(60, 51%, 98%)
CMYKcmyk(0%, 0%, 50.6%, 2.4%)
CIE-LABlab(95.72, -16.39, 59.72)
CIE-LCHlch(95.72, 61.93, 105.35°)
OKLaboklab(95.74% -0.0481 0.1404)
OKLCHoklch(95.74% 0.148 108.9)
XYZxyz(76.5196, 89.3230, 31.9453)
Luminance0.8932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F97B #7B7BF9
analogous
#F9BA7B #F9F97B #BAF97B
triadic
#F9F97B #7BF9F9 #F97BF9
tetradic
#F9F97B #7BF9BA #7B7BF9 #F97BBA
square
#F9F97B #7BF9BA #7B7BF9 #F97BBA
split-complementary
#F9F97B #7BBAF9 #BA7BF9
monochromatic
#EFEF0B #F6F640 #F9F97B #FCFCB6 #FEFEE2

Accessibility & contrast

On white

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

On black

18.86
#F9F97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F97B
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F97B#FFFFFF#000000##000000
##F9F97B1.001.1118.8618.86
#FFFFFF1.111.0021.0021.00
#00000018.8621.001.001.00
##00000018.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9f97b;
/* rgb */ color: rgb(249, 249, 123);
/* oklch */ color: oklch(95.7% 0.148 108.9);
Tailwind
colors: {
  custom: {
    50: '#fdfba4',
    500: '#f9f97b',
    950: '#000000',
  },
}
SCSS
$custom: #f9f97b;
$custom-light: #fdfba4;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f97b",
  "rgb": {
    "r": 249,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 60,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.95737,
    "c": 0.14835,
    "h": 108.9
  },
  "luminance": 0.89321
}

Semantic roles & 50–950 ramp

primary
#F9F97B
secondary
#4343D6
accent
#00E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F97B

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

Preview Lab → · Contrast checker → · Palette generator →

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