#FBF772#FBF772

#FBF772 is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.4% C 0.154 H 107.4°. Best body text is #000000 at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#FBF772
RGBrgb(251, 247, 114)
HSLhsl(58, 94%, 72%)
HSVhsv(58, 55%, 98%)
CMYKcmyk(0%, 1.6%, 54.6%, 1.6%)
CIE-LABlab(95.27, -15.34, 63.24)
CIE-LCHlch(95.27, 65.08, 103.63°)
OKLaboklab(95.39% -0.0461 0.147)
OKLCHoklch(95.39% 0.154 107.4)
XYZxyz(76.0839, 88.2478, 28.9420)
Luminance0.8825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF772 #7276FB
analogous
#FBB372 #FBF772 #BBFB72
triadic
#FBF772 #72FBF7 #F772FB
tetradic
#FBF772 #72FBB3 #7276FB #FB72BB
square
#FBF772 #72FBB3 #7276FB #FB72BB
split-complementary
#FBF772 #72BBFB #B372FB
monochromatic
#ECE507 #F9F436 #FBF772 #FDFAAE #FEFDE1

Accessibility & contrast

On white

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

On black

18.65
#FBF772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF772
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF772#FFFFFF#000000##000000
##FBF7721.001.1318.6518.65
#FFFFFF1.131.0021.0021.00
#00000018.6521.001.001.00
##00000018.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE64
Deuteranopia (green-blind)
#FFF479
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf772;
/* rgb */ color: rgb(251, 247, 114);
/* oklch */ color: oklch(95.4% 0.154 107.4);
Tailwind
colors: {
  custom: {
    50: '#fff99e',
    500: '#fbf772',
    950: '#000000',
  },
}
SCSS
$custom: #fbf772;
$custom-light: #fff99e;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf772",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 114
  },
  "hsl": {
    "h": 58.248,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.95387,
    "c": 0.15406,
    "h": 107.4
  },
  "luminance": 0.88246
}

Semantic roles & 50–950 ramp

primary
#FBF772
secondary
#3A3FD7
accent
#07E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF772

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

Preview Lab → · Contrast checker → · Palette generator →

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