#FBF960#FBF960

#FBF960 is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.6% C 0.171 H 108.5°. Best body text is #000000 at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#FBF960
RGBrgb(251, 249, 96)
HSLhsl(59, 95%, 68%)
HSVhsv(59, 62%, 98%)
CMYKcmyk(0%, 0.8%, 61.8%, 1.6%)
CIE-LABlab(95.63, -17.52, 71.19)
CIE-LCHlch(95.63, 73.31, 103.83°)
OKLaboklab(95.62% -0.0541 0.1617)
OKLCHoklch(95.62% 0.171 108.5)
XYZxyz(75.7731, 89.1073, 24.2720)
Luminance0.8911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF960 #6062FB
analogous
#FBAB60 #FBF960 #AFFB60
triadic
#FBF960 #60FBF9 #F960FB
tetradic
#FBF960 #60FBAB #6062FB #FB60AF
square
#FBF960 #60FBAB #6062FB #FB60AF
split-complementary
#FBF960 #60AFFB #AB60FB
monochromatic
#DBD806 #F9F724 #FBF960 #FDFB9C #FEFED7

Accessibility & contrast

On white

1.12
#FBF960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.82
#FBF960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF960
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF960#FFFFFF#000000##000000
##FBF9601.001.1218.8218.82
#FFFFFF1.121.0021.0021.00
#00000018.8221.001.001.00
##00000018.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF4D
Deuteranopia (green-blind)
#FFF569
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fbf960;
/* rgb */ color: rgb(251, 249, 96);
/* oklch */ color: oklch(95.6% 0.171 108.5);
Tailwind
colors: {
  custom: {
    50: '#fffb94',
    500: '#fbf960',
    950: '#000000',
  },
}
SCSS
$custom: #fbf960;
$custom-light: #fffb94;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf960",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 96
  },
  "hsl": {
    "h": 59.226,
    "s": 95.092,
    "l": 68.039
  },
  "oklch": {
    "l": 0.95624,
    "c": 0.17051,
    "h": 108.5
  },
  "luminance": 0.89105
}

Semantic roles & 50–950 ramp

primary
#FBF960
secondary
#2B2DD4
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF960

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

Preview Lab → · Contrast checker → · Palette generator →

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