#FBF968#FBF968

#FBF968 is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.7% C 0.164 H 108.4°. Best body text is #000000 at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#FBF968
RGBrgb(251, 249, 104)
HSLhsl(59, 95%, 70%)
HSVhsv(59, 59%, 98%)
CMYKcmyk(0%, 0.8%, 58.6%, 1.6%)
CIE-LABlab(95.69, -17.01, 68.00)
CIE-LCHlch(95.69, 70.09, 104.05°)
OKLaboklab(95.7% -0.0519 0.156)
OKLCHoklch(95.7% 0.164 108.4)
XYZxyz(76.1603, 89.2622, 26.3115)
Luminance0.8926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF968 #686AFB
analogous
#FBB068 #FBF968 #B3FB68
triadic
#FBF968 #68FBF9 #F968FB
tetradic
#FBF968 #68FBB0 #686AFB #FB68B3
square
#FBF968 #68FBB0 #686AFB #FB68B3
split-complementary
#FBF968 #68B3FB #B068FB
monochromatic
#E3E006 #F9F72C #FBF968 #FDFBA4 #FEFEDF

Accessibility & contrast

On white

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

On black

18.85
#FBF968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF968
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF968#FFFFFF#000000##000000
##FBF9681.001.1118.8518.85
#FFFFFF1.111.0021.0021.00
#00000018.8521.001.001.00
##00000018.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF057
Deuteranopia (green-blind)
#FFF570
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf968;
/* rgb */ color: rgb(251, 249, 104);
/* oklch */ color: oklch(95.7% 0.164 108.4);
Tailwind
colors: {
  custom: {
    50: '#fffb98',
    500: '#fbf968',
    950: '#000000',
  },
}
SCSS
$custom: #fbf968;
$custom-light: #fffb98;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf968",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 104
  },
  "hsl": {
    "h": 59.184,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.95697,
    "c": 0.16438,
    "h": 108.4
  },
  "luminance": 0.8926
}

Semantic roles & 50–950 ramp

primary
#FBF968
secondary
#3234D6
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF968

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

Preview Lab → · Contrast checker → · Palette generator →

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