#FBF873#FBF873

#FBF873 is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.6% C 0.154 H 107.8°. Best body text is #000000 at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#FBF873
RGBrgb(251, 248, 115)
HSLhsl(59, 94%, 72%)
HSVhsv(59, 54%, 98%)
CMYKcmyk(0%, 1.2%, 54.2%, 1.6%)
CIE-LABlab(95.53, -15.75, 63.11)
CIE-LCHlch(95.53, 65.04, 104.01°)
OKLaboklab(95.6% -0.0471 0.1468)
OKLCHoklch(95.6% 0.154 107.8)
XYZxyz(76.4477, 88.8840, 29.3456)
Luminance0.8888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF873 #7376FB
analogous
#FBB473 #FBF873 #BAFB73
triadic
#FBF873 #73FBF8 #F873FB
tetradic
#FBF873 #73FBB4 #7376FB #FB73BA
square
#FBF873 #73FBB4 #7376FB #FB73BA
split-complementary
#FBF873 #73BAFB #B473FB
monochromatic
#EDE807 #F9F538 #FBF873 #FDFBAF #FEFEE1

Accessibility & contrast

On white

1.12
#FBF873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.78
#FBF873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF873
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF873#FFFFFF#000000##000000
##FBF8731.001.1218.7818.78
#FFFFFF1.121.0021.0021.00
#00000018.7821.001.001.00
##00000018.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF65
Deuteranopia (green-blind)
#FFF57A
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fbf873;
/* rgb */ color: rgb(251, 248, 115);
/* oklch */ color: oklch(95.6% 0.154 107.8);
Tailwind
colors: {
  custom: {
    50: '#fffa9f',
    500: '#fbf873',
    950: '#000000',
  },
}
SCSS
$custom: #fbf873;
$custom-light: #fffa9f;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf873",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 115
  },
  "hsl": {
    "h": 58.676,
    "s": 94.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95603,
    "c": 0.15421,
    "h": 107.8
  },
  "luminance": 0.88882
}

Semantic roles & 50–950 ramp

primary
#FBF873
secondary
#3B3FD7
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF873

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

Preview Lab → · Contrast checker → · Palette generator →

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