#F9F386#F9F386

#F9F386 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.6% C 0.131 H 105.9°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#F9F386
RGBrgb(249, 243, 134)
HSLhsl(57, 91%, 75%)
HSVhsv(57, 46%, 98%)
CMYKcmyk(0%, 2.4%, 46.2%, 2.4%)
CIE-LABlab(94.30, -12.51, 52.94)
CIE-LCHlch(94.30, 54.40, 103.30°)
OKLaboklab(94.65% -0.0359 0.1264)
OKLCHoklch(94.65% 0.131 105.9)
XYZxyz(75.4223, 85.9642, 35.1693)
Luminance0.8596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F386 #868CF9
analogous
#F9BA86 #F9F386 #C5F986
triadic
#F9F386 #86F9F3 #F386F9
tetradic
#F9F386 #86F9BA #868CF9 #F986C5
square
#F9F386 #86F9BA #868CF9 #F986C5
split-complementary
#F9F386 #86C5F9 #BA86F9
monochromatic
#F3E711 #F6ED4C #F9F386 #FCF9C0 #FEFCE2

Accessibility & contrast

On white

1.15
#F9F386 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.19
#F9F386 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F386
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F386#FFFFFF#000000##000000
##F9F3861.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7D
Deuteranopia (green-blind)
#FFF18B
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f9f386;
/* rgb */ color: rgb(249, 243, 134);
/* oklch */ color: oklch(94.6% 0.131 105.9);
Tailwind
colors: {
  custom: {
    50: '#fdf6ab',
    500: '#f9f386',
    950: '#000000',
  },
}
SCSS
$custom: #f9f386;
$custom-light: #fdf6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f386",
  "rgb": {
    "r": 249,
    "g": 243,
    "b": 134
  },
  "hsl": {
    "h": 56.87,
    "s": 90.551,
    "l": 75.098
  },
  "oklch": {
    "l": 0.94648,
    "c": 0.13144,
    "h": 105.9
  },
  "luminance": 0.85962
}

Semantic roles & 50–950 ramp

primary
#F9F386
secondary
#4C53D7
accent
#0CE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F9F386

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

Preview Lab → · Contrast checker → · Palette generator →

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