#FBF277#FBF277

#FBF277 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.4% C 0.145 H 105.0°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#FBF277
RGBrgb(251, 242, 119)
HSLhsl(56, 94%, 73%)
HSVhsv(56, 53%, 98%)
CMYKcmyk(0%, 3.6%, 52.6%, 1.6%)
CIE-LABlab(94.03, -12.51, 59.60)
CIE-LCHlch(94.03, 60.90, 101.86°)
OKLaboklab(94.42% -0.0375 0.1397)
OKLCHoklch(94.42% 0.145 105)
XYZxyz(74.8677, 85.3477, 29.9792)
Luminance0.8535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF277 #7780FB
analogous
#FBB077 #FBF277 #C2FB77
triadic
#FBF277 #77FBF2 #F277FB
tetradic
#FBF277 #77FBB0 #7780FB #FB77C2
square
#FBF277 #77FBB0 #7780FB #FB77C2
split-complementary
#FBF277 #77C2FB #B077FB
monochromatic
#F1E107 #F9EC3C #FBF277 #FDF8B2 #FEFCE1

Accessibility & contrast

On white

1.16
#FBF277 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.07
#FBF277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF277
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF277#FFFFFF#000000##000000
##FBF2771.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6B
Deuteranopia (green-blind)
#FFF17D
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf277;
/* rgb */ color: rgb(251, 242, 119);
/* oklch */ color: oklch(94.4% 0.145 105.0);
Tailwind
colors: {
  custom: {
    50: '#fff6a1',
    500: '#fbf277',
    950: '#000000',
  },
}
SCSS
$custom: #fbf277;
$custom-light: #fff6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf277",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 119
  },
  "hsl": {
    "h": 55.909,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.94423,
    "c": 0.14463,
    "h": 105
  },
  "luminance": 0.85345
}

Semantic roles & 50–950 ramp

primary
#FBF277
secondary
#3F49D8
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF277

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

Preview Lab → · Contrast checker → · Palette generator →

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