#FBD971#FBD971

#FBD971 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 89.3% C 0.129 H 91.6°. Best body text is #000000 at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#FBD971
RGBrgb(251, 217, 113)
HSLhsl(45, 95%, 71%)
HSVhsv(45, 55%, 98%)
CMYKcmyk(0%, 13.5%, 55%, 1.6%)
CIE-LABlab(87.65, -0.48, 54.89)
CIE-LCHlch(87.65, 54.90, 90.50°)
OKLaboklab(89.34% -0.0035 0.1289)
OKLCHoklch(89.34% 0.129 91.6)
XYZxyz(67.5799, 71.3305, 25.8281)
Luminance0.7133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD971 #7193FB
analogous
#FB9471 #FBD971 #D8FB71
triadic
#FBD971 #71FBD9 #D971FB
tetradic
#FBD971 #71FB94 #7193FB #FB71D8
square
#FBD971 #71FB94 #7193FB #FB71D8
split-complementary
#FBD971 #71D8FB #9471FB
monochromatic
#EBB307 #F9C935 #FBD971 #FDE9AD #FEF7E1

Accessibility & contrast

On white

1.38
#FBD971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.27
#FBD971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD971
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD971#FFFFFF#000000##000000
##FBD9711.001.3815.2715.27
#FFFFFF1.381.0021.0021.00
#00000015.2721.001.001.00
##00000015.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD667
Deuteranopia (green-blind)
#F5E075
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #fbd971;
/* rgb */ color: rgb(251, 217, 113);
/* oklch */ color: oklch(89.3% 0.129 91.6);
Tailwind
colors: {
  custom: {
    50: '#ffe49c',
    500: '#fbd971',
    950: '#000000',
  },
}
SCSS
$custom: #fbd971;
$custom-light: #ffe49c;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd971",
  "rgb": {
    "r": 251,
    "g": 217,
    "b": 113
  },
  "hsl": {
    "h": 45.217,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.89342,
    "c": 0.12893,
    "h": 91.6
  },
  "luminance": 0.71327
}

Semantic roles & 50–950 ramp

primary
#FBD971
secondary
#3960D7
accent
#39E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #FBD971

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

Preview Lab → · Contrast checker → · Palette generator →

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