#F9F673#F9F673

#F9F673 is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 95.0% C 0.152 H 107.8°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#F9F673
RGBrgb(249, 246, 115)
HSLhsl(59, 92%, 71%)
HSVhsv(59, 54%, 98%)
CMYKcmyk(0%, 1.2%, 53.8%, 2.4%)
CIE-LABlab(94.86, -15.57, 62.30)
CIE-LCHlch(94.86, 64.22, 104.03°)
OKLaboklab(95.03% -0.0465 0.1451)
OKLCHoklch(95.03% 0.152 107.8)
XYZxyz(75.1193, 87.2911, 29.1081)
Luminance0.8729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F673 #7376F9
analogous
#F9B373 #F9F673 #B9F973
triadic
#F9F673 #73F9F6 #F673F9
tetradic
#F9F673 #73F9B3 #7376F9 #F973B9
square
#F9F673 #73F9B3 #7376F9 #F973B9
split-complementary
#F9F673 #73B9F9 #B373F9
monochromatic
#E8E30A #F6F238 #F9F673 #FCFAAE #FEFDE2

Accessibility & contrast

On white

1.14
#F9F673 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.46
#F9F673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F673
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F673#FFFFFF#000000##000000
##F9F6731.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED66
Deuteranopia (green-blind)
#FFF37A
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f9f673;
/* rgb */ color: rgb(249, 246, 115);
/* oklch */ color: oklch(95.0% 0.152 107.8);
Tailwind
colors: {
  custom: {
    50: '#fef99f',
    500: '#f9f673',
    950: '#000000',
  },
}
SCSS
$custom: #f9f673;
$custom-light: #fef99f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f673",
  "rgb": {
    "r": 249,
    "g": 246,
    "b": 115
  },
  "hsl": {
    "h": 58.657,
    "s": 91.781,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95031,
    "c": 0.1524,
    "h": 107.8
  },
  "luminance": 0.87289
}

Semantic roles & 50–950 ramp

primary
#F9F673
secondary
#3C3FD4
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F673

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

Preview Lab → · Contrast checker → · Palette generator →

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