#F9F98A#F9F98A

#F9F98A is a very light, vivid yellow. Relative luminance 0.897; OKLCH L 95.9% C 0.134 H 108.7°. Best body text is #000000 at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#F9F98A
RGBrgb(249, 249, 138)
HSLhsl(60, 90%, 76%)
HSVhsv(60, 45%, 98%)
CMYKcmyk(0%, 0%, 44.6%, 2.4%)
CIE-LABlab(95.88, -15.08, 52.99)
CIE-LCHlch(95.88, 55.10, 105.88°)
OKLaboklab(95.93% -0.0429 0.1268)
OKLCHoklch(95.93% 0.134 108.7)
XYZxyz(77.5315, 89.7278, 37.2748)
Luminance0.8973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F98A #8A8AF9
analogous
#F9C18A #F9F98A #C1F98A
triadic
#F9F98A #8AF9F9 #F98AF9
tetradic
#F9F98A #8AF9C1 #8A8AF9 #F98AC1
square
#F9F98A #8AF9C1 #8A8AF9 #F98AC1
split-complementary
#F9F98A #8AC1F9 #C18AF9
monochromatic
#F3F316 #F6F650 #F9F98A #FCFCC4 #FEFEE2

Accessibility & contrast

On white

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

On black

18.95
#F9F98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F98A
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F98A#FFFFFF#000000##000000
##F9F98A1.001.1118.9518.95
#FFFFFF1.111.0021.0021.00
#00000018.9521.001.001.00
##00000018.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF181
Deuteranopia (green-blind)
#FFF58F
Tritanopia (blue-blind)
#FFEDDF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f9f98a;
/* rgb */ color: rgb(249, 249, 138);
/* oklch */ color: oklch(95.9% 0.134 108.7);
Tailwind
colors: {
  custom: {
    50: '#fdfbae',
    500: '#f9f98a',
    950: '#000000',
  },
}
SCSS
$custom: #f9f98a;
$custom-light: #fdfbae;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f98a",
  "rgb": {
    "r": 249,
    "g": 249,
    "b": 138
  },
  "hsl": {
    "h": 60,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.95926,
    "c": 0.13389,
    "h": 108.7
  },
  "luminance": 0.89726
}

Semantic roles & 50–950 ramp

primary
#F9F98A
secondary
#5050D7
accent
#00E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F9F98A

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

Preview Lab → · Contrast checker → · Palette generator →

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