#F9D860#F9D860

#F9D860 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.8% C 0.142 H 93.9°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#F9D860
RGBrgb(249, 216, 96)
HSLhsl(47, 93%, 68%)
HSVhsv(47, 61%, 98%)
CMYKcmyk(0%, 13.3%, 61.4%, 2.4%)
CIE-LABlab(87.05, -1.99, 61.87)
CIE-LCHlch(87.05, 61.90, 91.84°)
OKLaboklab(88.77% -0.0097 0.142)
OKLCHoklch(88.77% 0.142 93.9)
XYZxyz(65.7371, 70.0993, 21.1320)
Luminance0.7010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D860 #6081F9
analogous
#F98C60 #F9D860 #CDF960
triadic
#F9D860 #60F9D8 #D860F9
tetradic
#F9D860 #60F98C #6081F9 #F960CD
square
#F9D860 #60F98C #6081F9 #F960CD
split-complementary
#F9D860 #60CDF9 #8C60F9
monochromatic
#D7AA08 #F7CA25 #F9D860 #FBE69B #FDF5D6

Accessibility & contrast

On white

1.40
#F9D860 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.02
#F9D860 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D860
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D860#FFFFFF#000000##000000
##F9D8601.001.4015.0215.02
#FFFFFF1.401.0021.0021.00
#00000015.0221.001.001.00
##00000015.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD453
Deuteranopia (green-blind)
#F5DE66
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f9d860;
/* rgb */ color: rgb(249, 216, 96);
/* oklch */ color: oklch(88.8% 0.142 93.9);
Tailwind
colors: {
  custom: {
    50: '#ffe391',
    500: '#f9d860',
    950: '#000000',
  },
}
SCSS
$custom: #f9d860;
$custom-light: #ffe391;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d860",
  "rgb": {
    "r": 249,
    "g": 216,
    "b": 96
  },
  "hsl": {
    "h": 47.059,
    "s": 92.727,
    "l": 67.647
  },
  "oklch": {
    "l": 0.88772,
    "c": 0.14228,
    "h": 93.9
  },
  "luminance": 0.70096
}

Semantic roles & 50–950 ramp

primary
#F9D860
secondary
#2C50D1
accent
#31E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F9D860

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

Preview Lab → · Contrast checker → · Palette generator →

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