#FBF971#FBF971

#FBF971 is a very light, vivid yellow. Relative luminance 0.895; OKLCH L 95.8% C 0.157 H 108.3°. Best body text is #000000 at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#FBF971
RGBrgb(251, 249, 113)
HSLhsl(59, 95%, 71%)
HSVhsv(59, 55%, 98%)
CMYKcmyk(0%, 0.8%, 55%, 1.6%)
CIE-LABlab(95.77, -16.38, 64.25)
CIE-LCHlch(95.77, 66.31, 104.30°)
OKLaboklab(95.79% -0.0492 0.1491)
OKLCHoklch(95.79% 0.157 108.3)
XYZxyz(76.6421, 89.4549, 28.8488)
Luminance0.8945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF971 #7173FB
analogous
#FBB471 #FBF971 #B8FB71
triadic
#FBF971 #71FBF9 #F971FB
tetradic
#FBF971 #71FBB4 #7173FB #FB71B8
square
#FBF971 #71FBB4 #7173FB #FB71B8
split-complementary
#FBF971 #71B8FB #B471FB
monochromatic
#EBE807 #F9F635 #FBF971 #FDFCAD #FEFEE1

Accessibility & contrast

On white

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

On black

18.89
#FBF971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF971
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF971#FFFFFF#000000##000000
##FBF9711.001.1118.8918.89
#FFFFFF1.111.0021.0021.00
#00000018.8921.001.001.00
##00000018.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF063
Deuteranopia (green-blind)
#FFF578
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf971;
/* rgb */ color: rgb(251, 249, 113);
/* oklch */ color: oklch(95.8% 0.157 108.3);
Tailwind
colors: {
  custom: {
    50: '#fffb9e',
    500: '#fbf971',
    950: '#000000',
  },
}
SCSS
$custom: #fbf971;
$custom-light: #fffb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf971",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 59.13,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95787,
    "c": 0.15696,
    "h": 108.3
  },
  "luminance": 0.89453
}

Semantic roles & 50–950 ramp

primary
#FBF971
secondary
#393CD7
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF971

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

Preview Lab → · Contrast checker → · Palette generator →

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