#FBF972#FBF972

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

Color values

HEX#FBF972
RGBrgb(251, 249, 114)
HSLhsl(59, 94%, 72%)
HSVhsv(59, 55%, 98%)
CMYKcmyk(0%, 0.8%, 54.6%, 1.6%)
CIE-LABlab(95.78, -16.31, 63.83)
CIE-LCHlch(95.78, 65.88, 104.33°)
OKLaboklab(95.8% -0.0488 0.1483)
OKLCHoklch(95.8% 0.156 108.2)
XYZxyz(76.6987, 89.4776, 29.1470)
Luminance0.8948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF972 #7274FB
analogous
#FBB572 #FBF972 #B9FB72
triadic
#FBF972 #72FBF9 #F972FB
tetradic
#FBF972 #72FBB5 #7274FB #FB72B9
square
#FBF972 #72FBB5 #7274FB #FB72B9
split-complementary
#FBF972 #72B9FB #B572FB
monochromatic
#ECE907 #F9F636 #FBF972 #FDFCAE #FEFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF972#FFFFFF#000000##000000
##FBF9721.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)
#FFF064
Deuteranopia (green-blind)
#FFF579
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf972;
/* rgb */ color: rgb(251, 249, 114);
/* oklch */ color: oklch(95.8% 0.156 108.2);
Tailwind
colors: {
  custom: {
    50: '#fffb9f',
    500: '#fbf972',
    950: '#000000',
  },
}
SCSS
$custom: #fbf972;
$custom-light: #fffb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf972",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 114
  },
  "hsl": {
    "h": 59.124,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.95797,
    "c": 0.15611,
    "h": 108.2
  },
  "luminance": 0.89475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF972

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

Preview Lab → · Contrast checker → · Palette generator →

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