#F9F671#F9F671

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

Color values

HEX#F9F671
RGBrgb(249, 246, 113)
HSLhsl(59, 92%, 71%)
HSVhsv(59, 55%, 98%)
CMYKcmyk(0%, 1.2%, 54.6%, 2.4%)
CIE-LABlab(94.84, -15.72, 63.16)
CIE-LCHlch(94.84, 65.09, 103.98°)
OKLaboklab(95.01% -0.0472 0.1468)
OKLCHoklch(95.01% 0.154 107.8)
XYZxyz(75.0054, 87.2456, 28.5086)
Luminance0.8724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F671 #7174F9
analogous
#F9B271 #F9F671 #B8F971
triadic
#F9F671 #71F9F6 #F671F9
tetradic
#F9F671 #71F9B2 #7174F9 #F971B8
square
#F9F671 #71F9B2 #7174F9 #F971B8
split-complementary
#F9F671 #71B8F9 #B271F9
monochromatic
#E6E10A #F7F236 #F9F671 #FBFAAC #FEFDE2

Accessibility & contrast

On white

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

On black

18.45
#F9F671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F671
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F671#FFFFFF#000000##000000
##F9F6711.001.1418.4518.45
#FFFFFF1.141.0021.0021.00
#00000018.4521.001.001.00
##00000018.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9f671;
/* rgb */ color: rgb(249, 246, 113);
/* oklch */ color: oklch(95.0% 0.154 107.8);
Tailwind
colors: {
  custom: {
    50: '#fef99e',
    500: '#f9f671',
    950: '#000000',
  },
}
SCSS
$custom: #f9f671;
$custom-light: #fef99e;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f671",
  "rgb": {
    "r": 249,
    "g": 246,
    "b": 113
  },
  "hsl": {
    "h": 58.676,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.9501,
    "c": 0.15415,
    "h": 107.8
  },
  "luminance": 0.87244
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9F671

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

Preview Lab → · Contrast checker → · Palette generator →

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