#FBE877#FBE877

#FBE877 is a very light, vivid yellow. Relative luminance 0.796; OKLCH L 92.4% C 0.135 H 99.9°. Best body text is #000000 at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#FBE877
RGBrgb(251, 232, 119)
HSLhsl(51, 94%, 73%)
HSVhsv(51, 53%, 98%)
CMYKcmyk(0%, 7.6%, 52.6%, 1.6%)
CIE-LABlab(91.49, -7.57, 56.62)
CIE-LCHlch(91.49, 57.12, 97.61°)
OKLaboklab(92.4% -0.0233 0.1332)
OKLCHoklch(92.4% 0.135 99.9)
XYZxyz(71.9724, 79.5571, 29.0141)
Luminance0.7955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE877 #778AFB
analogous
#FBA677 #FBE877 #CCFB77
triadic
#FBE877 #77FBE8 #E877FB
tetradic
#FBE877 #77FBA6 #778AFB #FB77CC
square
#FBE877 #77FBA6 #778AFB #FB77CC
split-complementary
#FBE877 #77CCFB #A677FB
monochromatic
#F1CF07 #F9DE3C #FBE877 #FDF2B2 #FEFAE1

Accessibility & contrast

On white

1.24
#FBE877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.91
#FBE877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE877
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE877#FFFFFF#000000##000000
##FBE8771.001.2416.9116.91
#FFFFFF1.241.0021.0021.00
#00000016.9121.001.001.00
##00000016.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE26D
Deuteranopia (green-blind)
#FFEA7C
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #fbe877;
/* rgb */ color: rgb(251, 232, 119);
/* oklch */ color: oklch(92.4% 0.135 99.9);
Tailwind
colors: {
  custom: {
    50: '#ffefa1',
    500: '#fbe877',
    950: '#000000',
  },
}
SCSS
$custom: #fbe877;
$custom-light: #ffefa1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe877",
  "rgb": {
    "r": 251,
    "g": 232,
    "b": 119
  },
  "hsl": {
    "h": 51.364,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92401,
    "c": 0.13524,
    "h": 99.9
  },
  "luminance": 0.79554
}

Semantic roles & 50–950 ramp

primary
#FBE877
secondary
#3F55D8
accent
#21E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FBE877

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

Preview Lab → · Contrast checker → · Palette generator →

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