#F9E586#F9E586

#F9E586 is a very light, moderate yellow. Relative luminance 0.779; OKLCH L 91.8% C 0.118 H 97.8°. Best body text is #000000 at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#F9E586
RGBrgb(249, 229, 134)
HSLhsl(50, 91%, 75%)
HSVhsv(50, 46%, 98%)
CMYKcmyk(0%, 8%, 46.2%, 2.4%)
CIE-LABlab(90.74, -5.56, 48.57)
CIE-LCHlch(90.74, 48.89, 96.53°)
OKLaboklab(91.82% -0.0159 0.1167)
OKLCHoklch(91.82% 0.118 97.8)
XYZxyz(71.3913, 77.9022, 33.8257)
Luminance0.7790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E586 #869AF9
analogous
#F9AB86 #F9E586 #D4F986
triadic
#F9E586 #86F9E5 #E586F9
tetradic
#F9E586 #86F9AB #869AF9 #F986D4
square
#F9E586 #86F9AB #869AF9 #F986D4
split-complementary
#F9E586 #86D4F9 #AB86F9
monochromatic
#F3CC11 #F6D84C #F9E586 #FCF2C0 #FEF9E2

Accessibility & contrast

On white

1.27
#F9E586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.58
#F9E586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E586
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E586#FFFFFF#000000##000000
##F9E5861.001.2716.5816.58
#FFFFFF1.271.0021.0021.00
#00000016.5821.001.001.00
##00000016.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E07E
Deuteranopia (green-blind)
#FBE88A
Tritanopia (blue-blind)
#FFD8CE
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f9e586;
/* rgb */ color: rgb(249, 229, 134);
/* oklch */ color: oklch(91.8% 0.118 97.8);
Tailwind
colors: {
  custom: {
    50: '#fdedab',
    500: '#f9e586',
    950: '#000000',
  },
}
SCSS
$custom: #f9e586;
$custom-light: #fdedab;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e586",
  "rgb": {
    "r": 249,
    "g": 229,
    "b": 134
  },
  "hsl": {
    "h": 49.565,
    "s": 90.551,
    "l": 75.098
  },
  "oklch": {
    "l": 0.91824,
    "c": 0.11781,
    "h": 97.8
  },
  "luminance": 0.779
}

Semantic roles & 50–950 ramp

primary
#F9E586
secondary
#4C64D7
accent
#28E600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F9E586

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

Preview Lab → · Contrast checker → · Palette generator →

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