#F9F573#F9F573

#F9F573 is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.8% C 0.151 H 107.3°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#F9F573
RGBrgb(249, 245, 115)
HSLhsl(58, 92%, 71%)
HSVhsv(58, 54%, 98%)
CMYKcmyk(0%, 1.6%, 53.8%, 2.4%)
CIE-LABlab(94.60, -15.08, 62.01)
CIE-LCHlch(94.60, 63.82, 103.67°)
OKLaboklab(94.83% -0.0451 0.1445)
OKLCHoklch(94.83% 0.151 107.3)
XYZxyz(74.8159, 86.6845, 29.0070)
Luminance0.8668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F573 #7377F9
analogous
#F9B273 #F9F573 #BAF973
triadic
#F9F573 #73F9F5 #F573F9
tetradic
#F9F573 #73F9B2 #7377F9 #F973BA
square
#F9F573 #73F9B2 #7377F9 #F973BA
split-complementary
#F9F573 #73BAF9 #B273F9
monochromatic
#E8E10A #F6F138 #F9F573 #FCF9AE #FEFDE2

Accessibility & contrast

On white

1.15
#F9F573 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.34
#F9F573 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F573
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F573#FFFFFF#000000##000000
##F9F5731.001.1518.3418.34
#FFFFFF1.151.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED66
Deuteranopia (green-blind)
#FFF27A
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f9f573;
/* rgb */ color: rgb(249, 245, 115);
/* oklch */ color: oklch(94.8% 0.151 107.3);
Tailwind
colors: {
  custom: {
    50: '#fef89f',
    500: '#f9f573',
    950: '#000000',
  },
}
SCSS
$custom: #f9f573;
$custom-light: #fef89f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f573",
  "rgb": {
    "r": 249,
    "g": 245,
    "b": 115
  },
  "hsl": {
    "h": 58.209,
    "s": 91.781,
    "l": 71.373
  },
  "oklch": {
    "l": 0.94826,
    "c": 0.15139,
    "h": 107.3
  },
  "luminance": 0.86682
}

Semantic roles & 50–950 ramp

primary
#F9F573
secondary
#3C40D4
accent
#07E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F573

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

Preview Lab → · Contrast checker → · Palette generator →

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