#F9D86F#F9D86F

#F9D86F is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.9% C 0.130 H 92.2°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#F9D86F
RGBrgb(249, 216, 111)
HSLhsl(46, 92%, 71%)
HSVhsv(46, 55%, 98%)
CMYKcmyk(0%, 13.3%, 55.4%, 2.4%)
CIE-LABlab(87.19, -0.93, 55.25)
CIE-LCHlch(87.19, 55.26, 90.97°)
OKLaboklab(88.94% -0.0049 0.1295)
OKLCHoklch(88.94% 0.13 92.2)
XYZxyz(66.4947, 70.4024, 25.1224)
Luminance0.7040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D86F #6F90F9
analogous
#F9936F #F9D86F #D5F96F
triadic
#F9D86F #6FF9D8 #D86FF9
tetradic
#F9D86F #6FF993 #6F90F9 #F96FD5
square
#F9D86F #6FF993 #6F90F9 #F96FD5
split-complementary
#F9D86F #6FD5F9 #936FF9
monochromatic
#E4B00A #F7C834 #F9D86F #FBE8AA #FEF7E2

Accessibility & contrast

On white

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

On black

15.08
#F9D86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D86F
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D86F#FFFFFF#000000##000000
##F9D86F1.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD565
Deuteranopia (green-blind)
#F4DF73
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f9d86f;
/* rgb */ color: rgb(249, 216, 111);
/* oklch */ color: oklch(88.9% 0.130 92.2);
Tailwind
colors: {
  custom: {
    50: '#fee39b',
    500: '#f9d86f',
    950: '#000000',
  },
}
SCSS
$custom: #f9d86f;
$custom-light: #fee39b;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d86f",
  "rgb": {
    "r": 249,
    "g": 216,
    "b": 111
  },
  "hsl": {
    "h": 45.652,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88937,
    "c": 0.12959,
    "h": 92.2
  },
  "luminance": 0.70399
}

Semantic roles & 50–950 ramp

primary
#F9D86F
secondary
#385DD4
accent
#37E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F9D86F

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

Preview Lab → · Contrast checker → · Palette generator →

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