#F9F973#F9F973

#F9F973 is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.6% C 0.156 H 109.0°. Best body text is #000000 at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#F9F973
RGBrgb(249, 249, 115)
HSLhsl(60, 92%, 71%)
HSVhsv(60, 54%, 98%)
CMYKcmyk(0%, 0%, 53.8%, 2.4%)
CIE-LABlab(95.64, -17.02, 63.18)
CIE-LCHlch(95.64, 65.44, 105.08°)
OKLaboklab(95.65% -0.0507 0.147)
OKLCHoklch(95.65% 0.156 109)
XYZxyz(76.0391, 89.1309, 29.4148)
Luminance0.8913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F973 #7373F9
analogous
#F9B673 #F9F973 #B6F973
triadic
#F9F973 #73F9F9 #F973F9
tetradic
#F9F973 #73F9B6 #7373F9 #F973B6
square
#F9F973 #73F9B6 #7373F9 #F973B6
split-complementary
#F9F973 #73B6F9 #B673F9
monochromatic
#E8E80A #F6F638 #F9F973 #FCFCAE #FEFEE2

Accessibility & contrast

On white

1.12
#F9F973 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.83
#F9F973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F973
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F973#FFFFFF#000000##000000
##F9F9731.001.1218.8318.83
#FFFFFF1.121.0021.0021.00
#00000018.8321.001.001.00
##00000018.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF065
Deuteranopia (green-blind)
#FFF57A
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f9f973;
/* rgb */ color: rgb(249, 249, 115);
/* oklch */ color: oklch(95.6% 0.156 109.0);
Tailwind
colors: {
  custom: {
    50: '#fefb9f',
    500: '#f9f973',
    950: '#000000',
  },
}
SCSS
$custom: #f9f973;
$custom-light: #fefb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f973",
  "rgb": {
    "r": 249,
    "g": 249,
    "b": 115
  },
  "hsl": {
    "h": 60,
    "s": 91.781,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95647,
    "c": 0.15551,
    "h": 109
  },
  "luminance": 0.89129
}

Semantic roles & 50–950 ramp

primary
#F9F973
secondary
#3C3CD4
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F973

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

Preview Lab → · Contrast checker → · Palette generator →

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