#FBF973#FBF973

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

Color values

HEX#FBF973
RGBrgb(251, 249, 115)
HSLhsl(59, 94%, 72%)
HSVhsv(59, 54%, 98%)
CMYKcmyk(0%, 0.8%, 54.2%, 1.6%)
CIE-LABlab(95.79, -16.23, 63.40)
CIE-LCHlch(95.79, 65.45, 104.36°)
OKLaboklab(95.81% -0.0485 0.1475)
OKLCHoklch(95.81% 0.155 108.2)
XYZxyz(76.7560, 89.5005, 29.4484)
Luminance0.8950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF973 #7375FB
analogous
#FBB573 #FBF973 #B9FB73
triadic
#FBF973 #73FBF9 #F973FB
tetradic
#FBF973 #73FBB5 #7375FB #FB73B9
square
#FBF973 #73FBB5 #7375FB #FB73B9
split-complementary
#FBF973 #73B9FB #B573FB
monochromatic
#EDE907 #F9F638 #FBF973 #FDFCAF #FEFEE1

Accessibility & contrast

On white

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

On black

18.90
#FBF973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF973
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF973#FFFFFF#000000##000000
##FBF9731.001.1118.9018.90
#FFFFFF1.111.0021.0021.00
#00000018.9021.001.001.00
##00000018.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf973;
/* rgb */ color: rgb(251, 249, 115);
/* oklch */ color: oklch(95.8% 0.155 108.2);
Tailwind
colors: {
  custom: {
    50: '#fffb9f',
    500: '#fbf973',
    950: '#000000',
  },
}
SCSS
$custom: #fbf973;
$custom-light: #fffb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf973",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 115
  },
  "hsl": {
    "h": 59.118,
    "s": 94.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95808,
    "c": 0.15524,
    "h": 108.2
  },
  "luminance": 0.89498
}

Semantic roles & 50–950 ramp

primary
#FBF973
secondary
#3B3DD7
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF973

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

Preview Lab → · Contrast checker → · Palette generator →

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