#FFD960#FFD960

#FFD960 is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 89.5% C 0.144 H 91.8°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#FFD960
RGBrgb(255, 217, 96)
HSLhsl(46, 100%, 69%)
HSVhsv(46, 62%, 100%)
CMYKcmyk(0%, 14.9%, 62.4%, 0%)
CIE-LABlab(87.84, -0.03, 62.90)
CIE-LCHlch(87.84, 62.90, 90.03°)
OKLaboklab(89.53% -0.0044 0.144)
OKLCHoklch(89.53% 0.144 91.8)
XYZxyz(68.1674, 71.7339, 21.3196)
Luminance0.7173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD960 #6086FF
analogous
#FF8A60 #FFD960 #D6FF60
triadic
#FFD960 #60FFD9 #D960FF
tetradic
#FFD960 #60FF8A #6086FF #FF60D6
square
#FFD960 #60FF8A #6086FF #FF60D6
split-complementary
#FFD960 #60D6FF #8A60FF
monochromatic
#E5AE00 #FFCA23 #FFD960 #FFE89D #FFF6DA

Accessibility & contrast

On white

1.37
#FFD960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.35
#FFD960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD960
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD960#FFFFFF#000000##000000
##FFD9601.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED653
Deuteranopia (green-blind)
#F8E165
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ffd960;
/* rgb */ color: rgb(255, 217, 96);
/* oklch */ color: oklch(89.5% 0.144 91.8);
Tailwind
colors: {
  custom: {
    50: '#ffe492',
    500: '#ffd960',
    950: '#000000',
  },
}
SCSS
$custom: #ffd960;
$custom-light: #ffe492;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd960",
  "rgb": {
    "r": 255,
    "g": 217,
    "b": 96
  },
  "hsl": {
    "h": 45.66,
    "s": 100,
    "l": 68.824
  },
  "oklch": {
    "l": 0.89527,
    "c": 0.14406,
    "h": 91.8
  },
  "luminance": 0.7173
}

Semantic roles & 50–950 ramp

primary
#FFD960
secondary
#2A54D9
accent
#37E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150D
muted
#87847F

Preview Lab

Preview with #FFD960

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

Preview Lab → · Contrast checker → · Palette generator →

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