#FFF960#FFF960

#FFF960 is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 96.0% C 0.170 H 107.1°. Best body text is #000000 at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#FFF960
RGBrgb(255, 249, 96)
HSLhsl(58, 100%, 69%)
HSVhsv(58, 62%, 100%)
CMYKcmyk(0%, 2.4%, 62.4%, 0%)
CIE-LABlab(95.94, -15.92, 71.62)
CIE-LCHlch(95.94, 73.36, 102.53°)
OKLaboklab(95.95% -0.0498 0.1625)
OKLCHoklch(95.95% 0.17 107.1)
XYZxyz(77.2296, 89.8584, 24.3403)
Luminance0.8986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF960 #6066FF
analogous
#FFAA60 #FFF960 #B6FF60
triadic
#FFF960 #60FFF9 #F960FF
tetradic
#FFF960 #60FFAA #6066FF #FF60B6
square
#FFF960 #60FFAA #6066FF #FF60B6
split-complementary
#FFF960 #60B6FF #AA60FF
monochromatic
#E5DC00 #FFF723 #FFF960 #FFFB9D #FFFEDA

Accessibility & contrast

On white

1.11
#FFF960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.97
#FFF960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF960
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF960#FFFFFF#000000##000000
##FFF9601.001.1118.9718.97
#FFFFFF1.111.0021.0021.00
#00000018.9721.001.001.00
##00000018.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF04D
Deuteranopia (green-blind)
#FFF669
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fff960;
/* rgb */ color: rgb(255, 249, 96);
/* oklch */ color: oklch(96.0% 0.170 107.1);
Tailwind
colors: {
  custom: {
    50: '#fffb94',
    500: '#fff960',
    950: '#000000',
  },
}
SCSS
$custom: #fff960;
$custom-light: #fffb94;
$custom-dark: #000000;
JSON
{
  "hex": "#fff960",
  "rgb": {
    "r": 255,
    "g": 249,
    "b": 96
  },
  "hsl": {
    "h": 57.736,
    "s": 100,
    "l": 68.824
  },
  "oklch": {
    "l": 0.9595,
    "c": 0.16995,
    "h": 107.1
  },
  "luminance": 0.89856
}

Semantic roles & 50–950 ramp

primary
#FFF960
secondary
#2A30D9
accent
#09E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#19170E
muted
#87857F

Preview Lab

Preview with #FFF960

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

Preview Lab → · Contrast checker → · Palette generator →

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