#F9F86E#F9F86E

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

Color values

HEX#F9F86E
RGBrgb(249, 248, 110)
HSLhsl(60, 92%, 70%)
HSVhsv(60, 56%, 98%)
CMYKcmyk(0%, 0.4%, 55.8%, 2.4%)
CIE-LABlab(95.33, -16.91, 65.01)
CIE-LCHlch(95.33, 67.17, 104.58°)
OKLaboklab(95.39% -0.0508 0.1504)
OKLCHoklch(95.39% 0.159 108.7)
XYZxyz(75.4509, 88.4024, 27.8377)
Luminance0.8840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F86E #6E6FF9
analogous
#F9B26E #F9F86E #B5F96E
triadic
#F9F86E #6EF9F8 #F86EF9
tetradic
#F9F86E #6EF9B2 #6E6FF9 #F96EB5
square
#F9F86E #6EF9B2 #6E6FF9 #F96EB5
split-complementary
#F9F86E #6EB5F9 #B26EF9
monochromatic
#E3E209 #F7F533 #F9F86E #FBFBA9 #FEFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F9F86E#FFFFFF#000000##000000
##F9F86E1.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)
#FFEF5F
Deuteranopia (green-blind)
#FFF476
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f9f86e;
/* rgb */ color: rgb(249, 248, 110);
/* oklch */ color: oklch(95.4% 0.159 108.7);
Tailwind
colors: {
  custom: {
    50: '#fefa9c',
    500: '#f9f86e',
    950: '#000000',
  },
}
SCSS
$custom: #f9f86e;
$custom-light: #fefa9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f86e",
  "rgb": {
    "r": 249,
    "g": 248,
    "b": 110
  },
  "hsl": {
    "h": 59.568,
    "s": 92.053,
    "l": 70.392
  },
  "oklch": {
    "l": 0.95389,
    "c": 0.15875,
    "h": 108.7
  },
  "luminance": 0.884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9F86E

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

Preview Lab → · Contrast checker → · Palette generator →

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