#F9D86B#F9D86B

#F9D86B is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.9% C 0.133 H 92.7°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#F9D86B
RGBrgb(249, 216, 107)
HSLhsl(46, 92%, 70%)
HSVhsv(46, 57%, 98%)
CMYKcmyk(0%, 13.3%, 57%, 2.4%)
CIE-LABlab(87.15, -1.23, 57.05)
CIE-LCHlch(87.15, 57.07, 91.24°)
OKLaboklab(88.89% -0.0062 0.133)
OKLCHoklch(88.89% 0.133 92.7)
XYZxyz(66.2794, 70.3163, 23.9883)
Luminance0.7031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D86B #6B8CF9
analogous
#F9916B #F9D86B #D3F96B
triadic
#F9D86B #6BF9D8 #D86BF9
tetradic
#F9D86B #6BF991 #6B8CF9 #F96BD3
square
#F9D86B #6BF991 #6B8CF9 #F96BD3
split-complementary
#F9D86B #6BD3F9 #916BF9
monochromatic
#E0AE09 #F7C930 #F9D86B #FBE7A6 #FEF7E1

Accessibility & contrast

On white

1.39
#F9D86B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#F9D86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D86B
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D86B#FFFFFF#000000##000000
##F9D86B1.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD560
Deuteranopia (green-blind)
#F4DE70
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f9d86b;
/* rgb */ color: rgb(249, 216, 107);
/* oklch */ color: oklch(88.9% 0.133 92.7);
Tailwind
colors: {
  custom: {
    50: '#fee398',
    500: '#f9d86b',
    950: '#000000',
  },
}
SCSS
$custom: #f9d86b;
$custom-light: #fee398;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d86b",
  "rgb": {
    "r": 249,
    "g": 216,
    "b": 107
  },
  "hsl": {
    "h": 46.056,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.8889,
    "c": 0.13312,
    "h": 92.7
  },
  "luminance": 0.70313
}

Semantic roles & 50–950 ramp

primary
#F9D86B
secondary
#355AD3
accent
#35E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F9D86B

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

Preview Lab → · Contrast checker → · Palette generator →

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