#FBF771#FBF771

#FBF771 is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.4% C 0.155 H 107.4°. Best body text is #000000 at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#FBF771
RGBrgb(251, 247, 113)
HSLhsl(58, 95%, 71%)
HSVhsv(58, 55%, 98%)
CMYKcmyk(0%, 1.6%, 55%, 1.6%)
CIE-LABlab(95.26, -15.41, 63.67)
CIE-LCHlch(95.26, 65.51, 103.61°)
OKLaboklab(95.38% -0.0464 0.1478)
OKLCHoklch(95.38% 0.155 107.4)
XYZxyz(76.0272, 88.2252, 28.6439)
Luminance0.8822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF771 #7175FB
analogous
#FBB271 #FBF771 #BAFB71
triadic
#FBF771 #71FBF7 #F771FB
tetradic
#FBF771 #71FBB2 #7175FB #FB71BA
square
#FBF771 #71FBB2 #7175FB #FB71BA
split-complementary
#FBF771 #71BAFB #B271FB
monochromatic
#EBE407 #F9F435 #FBF771 #FDFAAD #FEFDE1

Accessibility & contrast

On white

1.13
#FBF771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.64
#FBF771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF771
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF771#FFFFFF#000000##000000
##FBF7711.001.1318.6418.64
#FFFFFF1.131.0021.0021.00
#00000018.6421.001.001.00
##00000018.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE63
Deuteranopia (green-blind)
#FFF478
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf771;
/* rgb */ color: rgb(251, 247, 113);
/* oklch */ color: oklch(95.4% 0.155 107.4);
Tailwind
colors: {
  custom: {
    50: '#fff99e',
    500: '#fbf771',
    950: '#000000',
  },
}
SCSS
$custom: #fbf771;
$custom-light: #fff99e;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf771",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 58.261,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95377,
    "c": 0.15493,
    "h": 107.4
  },
  "luminance": 0.88223
}

Semantic roles & 50–950 ramp

primary
#FBF771
secondary
#393ED7
accent
#07E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF771

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

Preview Lab → · Contrast checker → · Palette generator →

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