#FBF671#FBF671

#FBF671 is a very light, vivid yellow. Relative luminance 0.876; OKLCH L 95.2% C 0.154 H 107.0°. Best body text is #000000 at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#FBF671
RGBrgb(251, 246, 113)
HSLhsl(58, 95%, 71%)
HSVhsv(58, 55%, 98%)
CMYKcmyk(0%, 2%, 55%, 1.6%)
CIE-LABlab(95.00, -14.93, 63.38)
CIE-LCHlch(95.00, 65.11, 103.25°)
OKLaboklab(95.17% -0.045 0.1472)
OKLCHoklch(95.17% 0.154 107)
XYZxyz(75.7223, 87.6152, 28.5422)
Luminance0.8761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF671 #7176FB
analogous
#FBB171 #FBF671 #BBFB71
triadic
#FBF671 #71FBF6 #F671FB
tetradic
#FBF671 #71FBB1 #7176FB #FB71BB
square
#FBF671 #71FBB1 #7176FB #FB71BB
split-complementary
#FBF671 #71BBFB #B171FB
monochromatic
#EBE307 #F9F235 #FBF671 #FDFAAD #FEFDE1

Accessibility & contrast

On white

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

On black

18.52
#FBF671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF671
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF671#FFFFFF#000000##000000
##FBF6711.001.1318.5218.52
#FFFFFF1.131.0021.0021.00
#00000018.5221.001.001.00
##00000018.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf671;
/* rgb */ color: rgb(251, 246, 113);
/* oklch */ color: oklch(95.2% 0.154 107.0);
Tailwind
colors: {
  custom: {
    50: '#fff89e',
    500: '#fbf671',
    950: '#000000',
  },
}
SCSS
$custom: #fbf671;
$custom-light: #fff89e;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf671",
  "rgb": {
    "r": 251,
    "g": 246,
    "b": 113
  },
  "hsl": {
    "h": 57.826,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95172,
    "c": 0.15392,
    "h": 107
  },
  "luminance": 0.87613
}

Semantic roles & 50–950 ramp

primary
#FBF671
secondary
#393FD7
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF671

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

Preview Lab → · Contrast checker → · Palette generator →

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