#F9F286#F9F286

#F9F286 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.4% C 0.130 H 105.3°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#F9F286
RGBrgb(249, 242, 134)
HSLhsl(56, 91%, 75%)
HSVhsv(56, 46%, 98%)
CMYKcmyk(0%, 2.8%, 46.2%, 2.4%)
CIE-LABlab(94.04, -12.02, 52.63)
CIE-LCHlch(94.04, 53.99, 102.87°)
OKLaboklab(94.45% -0.0345 0.1258)
OKLCHoklch(94.45% 0.13 105.3)
XYZxyz(75.1239, 85.3673, 35.0699)
Luminance0.8537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F286 #868DF9
analogous
#F9B986 #F9F286 #C6F986
triadic
#F9F286 #86F9F2 #F286F9
tetradic
#F9F286 #86F9B9 #868DF9 #F986C6
square
#F9F286 #86F9B9 #868DF9 #F986C6
split-complementary
#F9F286 #86C6F9 #B986F9
monochromatic
#F3E511 #F6EC4C #F9F286 #FCF8C0 #FEFCE2

Accessibility & contrast

On white

1.16
#F9F286 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.07
#F9F286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F286
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F286#FFFFFF#000000##000000
##F9F2861.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7D
Deuteranopia (green-blind)
#FFF08B
Tritanopia (blue-blind)
#FFE5D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f9f286;
/* rgb */ color: rgb(249, 242, 134);
/* oklch */ color: oklch(94.4% 0.130 105.3);
Tailwind
colors: {
  custom: {
    50: '#fdf6ab',
    500: '#f9f286',
    950: '#000000',
  },
}
SCSS
$custom: #f9f286;
$custom-light: #fdf6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f286",
  "rgb": {
    "r": 249,
    "g": 242,
    "b": 134
  },
  "hsl": {
    "h": 56.348,
    "s": 90.551,
    "l": 75.098
  },
  "oklch": {
    "l": 0.94445,
    "c": 0.1304,
    "h": 105.3
  },
  "luminance": 0.85365
}

Semantic roles & 50–950 ramp

primary
#F9F286
secondary
#4C55D7
accent
#0EE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F9F286

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

Preview Lab → · Contrast checker → · Palette generator →

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