#FBF177#FBF177

#FBF177 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.2% C 0.144 H 104.6°. Best body text is #000000 at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#FBF177
RGBrgb(251, 241, 119)
HSLhsl(55, 94%, 73%)
HSVhsv(55, 53%, 98%)
CMYKcmyk(0%, 4%, 52.6%, 1.6%)
CIE-LABlab(93.78, -12.02, 59.30)
CIE-LCHlch(93.78, 60.51, 101.46°)
OKLaboklab(94.22% -0.0361 0.139)
OKLCHoklch(94.22% 0.144 104.6)
XYZxyz(74.5709, 84.7541, 29.8802)
Luminance0.8475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF177 #7781FB
analogous
#FBAF77 #FBF177 #C3FB77
triadic
#FBF177 #77FBF1 #F177FB
tetradic
#FBF177 #77FBAF #7781FB #FB77C3
square
#FBF177 #77FBAF #7781FB #FB77C3
split-complementary
#FBF177 #77C3FB #AF77FB
monochromatic
#F1DF07 #F9EB3C #FBF177 #FDF7B2 #FEFCE1

Accessibility & contrast

On white

1.17
#FBF177 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.95
#FBF177 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF177
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF177#FFFFFF#000000##000000
##FBF1771.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6B
Deuteranopia (green-blind)
#FFF07D
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbf177;
/* rgb */ color: rgb(251, 241, 119);
/* oklch */ color: oklch(94.2% 0.144 104.6);
Tailwind
colors: {
  custom: {
    50: '#fff5a1',
    500: '#fbf177',
    950: '#000000',
  },
}
SCSS
$custom: #fbf177;
$custom-light: #fff5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf177",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 119
  },
  "hsl": {
    "h": 55.455,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.94219,
    "c": 0.14365,
    "h": 104.6
  },
  "luminance": 0.84752
}

Semantic roles & 50–950 ramp

primary
#FBF177
secondary
#3F4AD8
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF177

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

Preview Lab → · Contrast checker → · Palette generator →

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