#FBF877#FBF877

#FBF877 is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.6% C 0.151 H 107.7°. Best body text is #000000 at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#FBF877
RGBrgb(251, 248, 119)
HSLhsl(59, 94%, 73%)
HSVhsv(59, 53%, 98%)
CMYKcmyk(0%, 1.2%, 52.6%, 1.6%)
CIE-LABlab(95.57, -15.44, 61.38)
CIE-LCHlch(95.57, 63.30, 104.12°)
OKLaboklab(95.65% -0.0459 0.1435)
OKLCHoklch(95.65% 0.151 107.7)
XYZxyz(76.6829, 88.9780, 30.5842)
Luminance0.8898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF877 #777AFB
analogous
#FBB677 #FBF877 #BCFB77
triadic
#FBF877 #77FBF8 #F877FB
tetradic
#FBF877 #77FBB6 #777AFB #FB77BC
square
#FBF877 #77FBB6 #777AFB #FB77BC
split-complementary
#FBF877 #77BCFB #B677FB
monochromatic
#F1EB07 #F9F53C #FBF877 #FDFBB2 #FEFDE1

Accessibility & contrast

On white

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

On black

18.80
#FBF877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF877
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF877#FFFFFF#000000##000000
##FBF8771.001.1218.8018.80
#FFFFFF1.121.0021.0021.00
#00000018.8021.001.001.00
##00000018.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf877;
/* rgb */ color: rgb(251, 248, 119);
/* oklch */ color: oklch(95.6% 0.151 107.7);
Tailwind
colors: {
  custom: {
    50: '#fffaa2',
    500: '#fbf877',
    950: '#000000',
  },
}
SCSS
$custom: #fbf877;
$custom-light: #fffaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf877",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 119
  },
  "hsl": {
    "h": 58.636,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.95647,
    "c": 0.15068,
    "h": 107.7
  },
  "luminance": 0.88976
}

Semantic roles & 50–950 ramp

primary
#FBF877
secondary
#3F42D8
accent
#05E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF877

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

Preview Lab → · Contrast checker → · Palette generator →

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