#F9D460#F9D460

#F9D460 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 88.0% C 0.140 H 91.6°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#F9D460
RGBrgb(249, 212, 96)
HSLhsl(45, 93%, 68%)
HSVhsv(45, 61%, 98%)
CMYKcmyk(0%, 14.9%, 61.4%, 2.4%)
CIE-LABlab(86.04, 0.05, 60.76)
CIE-LCHlch(86.04, 60.76, 89.95°)
OKLaboklab(87.98% -0.0038 0.1396)
OKLCHoklch(87.98% 0.14 91.6)
XYZxyz(64.7248, 68.0747, 20.7946)
Luminance0.6807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D460 #6085F9
analogous
#F98760 #F9D460 #D2F960
triadic
#F9D460 #60F9D4 #D460F9
tetradic
#F9D460 #60F987 #6085F9 #F960D2
square
#F9D460 #60F987 #6085F9 #F960D2
split-complementary
#F9D460 #60D2F9 #8760F9
monochromatic
#D7A508 #F7C425 #F9D460 #FBE49B #FDF4D6

Accessibility & contrast

On white

1.44
#F9D460 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.61
#F9D460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D460
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D460#FFFFFF#000000##000000
##F9D4601.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D154
Deuteranopia (green-blind)
#F2DC65
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f9d460;
/* rgb */ color: rgb(249, 212, 96);
/* oklch */ color: oklch(88.0% 0.140 91.6);
Tailwind
colors: {
  custom: {
    50: '#ffe091',
    500: '#f9d460',
    950: '#000000',
  },
}
SCSS
$custom: #f9d460;
$custom-light: #ffe091;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d460",
  "rgb": {
    "r": 249,
    "g": 212,
    "b": 96
  },
  "hsl": {
    "h": 45.49,
    "s": 92.727,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87981,
    "c": 0.13964,
    "h": 91.6
  },
  "luminance": 0.68071
}

Semantic roles & 50–950 ramp

primary
#F9D460
secondary
#2C54D1
accent
#38E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F9D460

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

Preview Lab → · Contrast checker → · Palette generator →

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