#F9F86D#F9F86D

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

Color values

HEX#F9F86D
RGBrgb(249, 248, 109)
HSLhsl(60, 92%, 70%)
HSVhsv(60, 56%, 98%)
CMYKcmyk(0%, 0.4%, 56.2%, 2.4%)
CIE-LABlab(95.32, -16.98, 65.43)
CIE-LCHlch(95.32, 67.60, 104.55°)
OKLaboklab(95.38% -0.0512 0.1512)
OKLCHoklch(95.38% 0.16 108.7)
XYZxyz(75.3968, 88.3807, 27.5525)
Luminance0.8838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F86D #6D6EF9
analogous
#F9B26D #F9F86D #B4F96D
triadic
#F9F86D #6DF9F8 #F86DF9
tetradic
#F9F86D #6DF9B2 #6D6EF9 #F96DB4
square
#F9F86D #6DF9B2 #6D6EF9 #F96DB4
split-complementary
#F9F86D #6DB4F9 #B26DF9
monochromatic
#E2E109 #F7F532 #F9F86D #FBFBA8 #FEFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F9F86D#FFFFFF#000000##000000
##F9F86D1.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)
#FFEF5E
Deuteranopia (green-blind)
#FFF475
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f9f86d;
/* rgb */ color: rgb(249, 248, 109);
/* oklch */ color: oklch(95.4% 0.160 108.7);
Tailwind
colors: {
  custom: {
    50: '#fefa9b',
    500: '#f9f86d',
    950: '#000000',
  },
}
SCSS
$custom: #f9f86d;
$custom-light: #fefa9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f86d",
  "rgb": {
    "r": 249,
    "g": 248,
    "b": 109
  },
  "hsl": {
    "h": 59.571,
    "s": 92.105,
    "l": 70.196
  },
  "oklch": {
    "l": 0.95379,
    "c": 0.15959,
    "h": 108.7
  },
  "luminance": 0.88379
}

Semantic roles & 50–950 ramp

primary
#F9F86D
secondary
#3738D4
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F86D

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

Preview Lab → · Contrast checker → · Palette generator →

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