#F9F86B#F9F86B

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

Color values

HEX#F9F86B
RGBrgb(249, 248, 107)
HSLhsl(60, 92%, 70%)
HSVhsv(60, 57%, 98%)
CMYKcmyk(0%, 0.4%, 57%, 2.4%)
CIE-LABlab(95.30, -17.12, 66.26)
CIE-LCHlch(95.30, 68.44, 104.49°)
OKLaboklab(95.36% -0.0518 0.1527)
OKLCHoklch(95.36% 0.161 108.7)
XYZxyz(75.2903, 88.3381, 26.9920)
Luminance0.8834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F86B #6B6CF9
analogous
#F9B16B #F9F86B #B3F96B
triadic
#F9F86B #6BF9F8 #F86BF9
tetradic
#F9F86B #6BF9B1 #6B6CF9 #F96BB3
square
#F9F86B #6BF9B1 #6B6CF9 #F96BB3
split-complementary
#F9F86B #6BB3F9 #B16BF9
monochromatic
#E0DF09 #F7F530 #F9F86B #FBFBA6 #FEFEE1

Accessibility & contrast

On white

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

On black

18.67
#F9F86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F86B
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F86B#FFFFFF#000000##000000
##F9F86B1.001.1218.6718.67
#FFFFFF1.121.0021.0021.00
#00000018.6721.001.001.00
##00000018.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF5C
Deuteranopia (green-blind)
#FFF473
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f9f86b;
/* rgb */ color: rgb(249, 248, 107);
/* oklch */ color: oklch(95.4% 0.161 108.7);
Tailwind
colors: {
  custom: {
    50: '#fefa9a',
    500: '#f9f86b',
    950: '#000000',
  },
}
SCSS
$custom: #f9f86b;
$custom-light: #fefa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f86b",
  "rgb": {
    "r": 249,
    "g": 248,
    "b": 107
  },
  "hsl": {
    "h": 59.577,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.95359,
    "c": 0.16124,
    "h": 108.7
  },
  "luminance": 0.88336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9F86B

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

Preview Lab → · Contrast checker → · Palette generator →

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