#F9D960#F9D960

#F9D960 is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 89.0% C 0.143 H 94.5°. Best body text is #000000 at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#F9D960
RGBrgb(249, 217, 96)
HSLhsl(47, 93%, 68%)
HSVhsv(47, 61%, 98%)
CMYKcmyk(0%, 12.9%, 61.4%, 2.4%)
CIE-LABlab(87.30, -2.49, 62.15)
CIE-LCHlch(87.30, 62.20, 92.30°)
OKLaboklab(88.97% -0.0112 0.1425)
OKLCHoklch(88.97% 0.143 94.5)
XYZxyz(65.9940, 70.6133, 21.2177)
Luminance0.7061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D960 #6080F9
analogous
#F98C60 #F9D960 #CCF960
triadic
#F9D960 #60F9D9 #D960F9
tetradic
#F9D960 #60F98C #6080F9 #F960CC
square
#F9D960 #60F98C #6080F9 #F960CC
split-complementary
#F9D960 #60CCF9 #8C60F9
monochromatic
#D7AB08 #F7CB25 #F9D960 #FBE79B #FDF5D6

Accessibility & contrast

On white

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

On black

15.12
#F9D960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D960
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D960#FFFFFF#000000##000000
##F9D9601.001.3915.1215.12
#FFFFFF1.391.0021.0021.00
#00000015.1221.001.001.00
##00000015.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD553
Deuteranopia (green-blind)
#F6DF66
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f9d960;
/* rgb */ color: rgb(249, 217, 96);
/* oklch */ color: oklch(89.0% 0.143 94.5);
Tailwind
colors: {
  custom: {
    50: '#ffe492',
    500: '#f9d960',
    950: '#000000',
  },
}
SCSS
$custom: #f9d960;
$custom-light: #ffe492;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d960",
  "rgb": {
    "r": 249,
    "g": 217,
    "b": 96
  },
  "hsl": {
    "h": 47.451,
    "s": 92.727,
    "l": 67.647
  },
  "oklch": {
    "l": 0.8897,
    "c": 0.14298,
    "h": 94.5
  },
  "luminance": 0.7061
}

Semantic roles & 50–950 ramp

primary
#F9D960
secondary
#2C4FD1
accent
#30E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F9D960

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

Preview Lab → · Contrast checker → · Palette generator →

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