#F9F586#F9F586

#F9F586 is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 95.1% C 0.134 H 106.9°. Best body text is #000000 at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#F9F586
RGBrgb(249, 245, 134)
HSLhsl(58, 91%, 75%)
HSVhsv(58, 46%, 98%)
CMYKcmyk(0%, 1.6%, 46.2%, 2.4%)
CIE-LABlab(94.81, -13.50, 53.57)
CIE-LCHlch(94.81, 55.24, 104.14°)
OKLaboklab(95.06% -0.0387 0.1278)
OKLCHoklch(95.06% 0.134 106.9)
XYZxyz(76.0241, 87.1677, 35.3699)
Luminance0.8717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F586 #868AF9
analogous
#F9BB86 #F9F586 #C3F986
triadic
#F9F586 #86F9F5 #F586F9
tetradic
#F9F586 #86F9BB #868AF9 #F986C3
square
#F9F586 #86F9BB #868AF9 #F986C3
split-complementary
#F9F586 #86C3F9 #BB86F9
monochromatic
#F3EB11 #F6F04C #F9F586 #FCFAC0 #FEFDE2

Accessibility & contrast

On white

1.14
#F9F586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.43
#F9F586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F586
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F586#FFFFFF#000000##000000
##F9F5861.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7C
Deuteranopia (green-blind)
#FFF28B
Tritanopia (blue-blind)
#FFE8DB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f9f586;
/* rgb */ color: rgb(249, 245, 134);
/* oklch */ color: oklch(95.1% 0.134 106.9);
Tailwind
colors: {
  custom: {
    50: '#fdf8ab',
    500: '#f9f586',
    950: '#000000',
  },
}
SCSS
$custom: #f9f586;
$custom-light: #fdf8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f586",
  "rgb": {
    "r": 249,
    "g": 245,
    "b": 134
  },
  "hsl": {
    "h": 57.913,
    "s": 90.551,
    "l": 75.098
  },
  "oklch": {
    "l": 0.95056,
    "c": 0.13356,
    "h": 106.9
  },
  "luminance": 0.87166
}

Semantic roles & 50–950 ramp

primary
#F9F586
secondary
#4C51D7
accent
#08E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F9F586

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

Preview Lab → · Contrast checker → · Palette generator →

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