#F9F186#F9F186

#F9F186 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.2% C 0.129 H 104.8°. Best body text is #000000 at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#F9F186
RGBrgb(249, 241, 134)
HSLhsl(56, 91%, 75%)
HSVhsv(56, 46%, 98%)
CMYKcmyk(0%, 3.2%, 46.2%, 2.4%)
CIE-LABlab(93.79, -11.53, 52.32)
CIE-LCHlch(93.79, 53.58, 102.43°)
OKLaboklab(94.24% -0.0331 0.1251)
OKLCHoklch(94.24% 0.129 104.8)
XYZxyz(74.8270, 84.7737, 34.9709)
Luminance0.8477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F186 #868EF9
analogous
#F9B786 #F9F186 #C8F986
triadic
#F9F186 #86F9F1 #F186F9
tetradic
#F9F186 #86F9B7 #868EF9 #F986C8
square
#F9F186 #86F9B7 #868EF9 #F986C8
split-complementary
#F9F186 #86C8F9 #B786F9
monochromatic
#F3E411 #F6EA4C #F9F186 #FCF8C0 #FEFCE2

Accessibility & contrast

On white

1.17
#F9F186 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.95
#F9F186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F186
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F186#FFFFFF#000000##000000
##F9F1861.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7D
Deuteranopia (green-blind)
#FFF08B
Tritanopia (blue-blind)
#FFE4D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f9f186;
/* rgb */ color: rgb(249, 241, 134);
/* oklch */ color: oklch(94.2% 0.129 104.8);
Tailwind
colors: {
  custom: {
    50: '#fdf5ab',
    500: '#f9f186',
    950: '#000000',
  },
}
SCSS
$custom: #f9f186;
$custom-light: #fdf5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f186",
  "rgb": {
    "r": 249,
    "g": 241,
    "b": 134
  },
  "hsl": {
    "h": 55.826,
    "s": 90.551,
    "l": 75.098
  },
  "oklch": {
    "l": 0.94242,
    "c": 0.12936,
    "h": 104.8
  },
  "luminance": 0.84772
}

Semantic roles & 50–950 ramp

primary
#F9F186
secondary
#4C56D7
accent
#10E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F9F186

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

Preview Lab → · Contrast checker → · Palette generator →

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