#FBF962#FBF962

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

Color values

HEX#FBF962
RGBrgb(251, 249, 98)
HSLhsl(59, 95%, 68%)
HSVhsv(59, 61%, 98%)
CMYKcmyk(0%, 0.8%, 61%, 1.6%)
CIE-LABlab(95.64, -17.40, 70.40)
CIE-LCHlch(95.64, 72.52, 103.88°)
OKLaboklab(95.64% -0.0536 0.1603)
OKLCHoklch(95.64% 0.169 108.5)
XYZxyz(75.8664, 89.1446, 24.7631)
Luminance0.8914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF962 #6264FB
analogous
#FBAC62 #FBF962 #B0FB62
triadic
#FBF962 #62FBF9 #F962FB
tetradic
#FBF962 #62FBAC #6264FB #FB62B0
square
#FBF962 #62FBAC #6264FB #FB62B0
split-complementary
#FBF962 #62B0FB #AC62FB
monochromatic
#DDDA06 #F9F726 #FBF962 #FDFB9E #FEFED9

Accessibility & contrast

On white

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

On black

18.83
#FBF962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF962
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF962#FFFFFF#000000##000000
##FBF9621.001.1218.8318.83
#FFFFFF1.121.0021.0021.00
#00000018.8321.001.001.00
##00000018.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf962;
/* rgb */ color: rgb(251, 249, 98);
/* oklch */ color: oklch(95.6% 0.169 108.5);
Tailwind
colors: {
  custom: {
    50: '#fffb95',
    500: '#fbf962',
    950: '#000000',
  },
}
SCSS
$custom: #fbf962;
$custom-light: #fffb95;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf962",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 59.216,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.95642,
    "c": 0.16901,
    "h": 108.5
  },
  "luminance": 0.89142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF962

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

Preview Lab → · Contrast checker → · Palette generator →

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