#F9F86A#F9F86A

#F9F86A is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.3% C 0.162 H 108.7°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#F9F86A
RGBrgb(249, 248, 106)
HSLhsl(60, 92%, 70%)
HSVhsv(60, 57%, 98%)
CMYKcmyk(0%, 0.4%, 57.4%, 2.4%)
CIE-LABlab(95.29, -17.19, 66.68)
CIE-LCHlch(95.29, 68.86, 104.46°)
OKLaboklab(95.35% -0.0521 0.1535)
OKLCHoklch(95.35% 0.162 108.7)
XYZxyz(75.2380, 88.3172, 26.7165)
Luminance0.8831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F86A #6A6BF9
analogous
#F9B06A #F9F86A #B3F96A
triadic
#F9F86A #6AF9F8 #F86AF9
tetradic
#F9F86A #6AF9B0 #6A6BF9 #F96AB3
square
#F9F86A #6AF9B0 #6A6BF9 #F96AB3
split-complementary
#F9F86A #6AB3F9 #B06AF9
monochromatic
#E0DE09 #F7F52F #F9F86A #FBFBA5 #FEFEE0

Accessibility & contrast

On white

1.13
#F9F86A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.66
#F9F86A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F86A
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F86A#FFFFFF#000000##000000
##F9F86A1.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF5A
Deuteranopia (green-blind)
#FFF472
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f9f86a;
/* rgb */ color: rgb(249, 248, 106);
/* oklch */ color: oklch(95.3% 0.162 108.7);
Tailwind
colors: {
  custom: {
    50: '#fefa9a',
    500: '#f9f86a',
    950: '#000000',
  },
}
SCSS
$custom: #f9f86a;
$custom-light: #fefa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f86a",
  "rgb": {
    "r": 249,
    "g": 248,
    "b": 106
  },
  "hsl": {
    "h": 59.58,
    "s": 92.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.95349,
    "c": 0.16206,
    "h": 108.7
  },
  "luminance": 0.88315
}

Semantic roles & 50–950 ramp

primary
#F9F86A
secondary
#3435D3
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F86A

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

Preview Lab → · Contrast checker → · Palette generator →

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