#F9F86F#F9F86F

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

Color values

HEX#F9F86F
RGBrgb(249, 248, 111)
HSLhsl(60, 92%, 71%)
HSVhsv(60, 55%, 98%)
CMYKcmyk(0%, 0.4%, 55.4%, 2.4%)
CIE-LABlab(95.34, -16.84, 64.59)
CIE-LCHlch(95.34, 66.75, 104.61°)
OKLaboklab(95.4% -0.0505 0.1496)
OKLCHoklch(95.4% 0.158 108.7)
XYZxyz(75.5057, 88.4243, 28.1260)
Luminance0.8842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F86F #6F70F9
analogous
#F9B36F #F9F86F #B5F96F
triadic
#F9F86F #6FF9F8 #F86FF9
tetradic
#F9F86F #6FF9B3 #6F70F9 #F96FB5
square
#F9F86F #6FF9B3 #6F70F9 #F96FB5
split-complementary
#F9F86F #6FB5F9 #B36FF9
monochromatic
#E4E30A #F7F534 #F9F86F #FBFBAA #FEFEE2

Accessibility & contrast

On white

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

On black

18.68
#F9F86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F86F
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F86F#FFFFFF#000000##000000
##F9F86F1.001.1218.6818.68
#FFFFFF1.121.0021.0021.00
#00000018.6821.001.001.00
##00000018.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF61
Deuteranopia (green-blind)
#FFF477
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f9f86f;
/* rgb */ color: rgb(249, 248, 111);
/* oklch */ color: oklch(95.4% 0.158 108.7);
Tailwind
colors: {
  custom: {
    50: '#fefa9d',
    500: '#f9f86f',
    950: '#000000',
  },
}
SCSS
$custom: #f9f86f;
$custom-light: #fefa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f86f",
  "rgb": {
    "r": 249,
    "g": 248,
    "b": 111
  },
  "hsl": {
    "h": 59.565,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.954,
    "c": 0.15791,
    "h": 108.7
  },
  "luminance": 0.88422
}

Semantic roles & 50–950 ramp

primary
#F9F86F
secondary
#3839D4
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F86F

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

Preview Lab → · Contrast checker → · Palette generator →

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