#FBF77F#FBF77F

#FBF77F is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.5% C 0.142 H 107.1°. Best body text is #000000 at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#FBF77F
RGBrgb(251, 247, 127)
HSLhsl(58, 94%, 74%)
HSVhsv(58, 49%, 98%)
CMYKcmyk(0%, 1.6%, 49.4%, 1.6%)
CIE-LABlab(95.40, -14.30, 57.56)
CIE-LCHlch(95.40, 59.31, 103.96°)
OKLaboklab(95.54% -0.0418 0.136)
OKLCHoklch(95.54% 0.142 107.1)
XYZxyz(76.8771, 88.5651, 33.1197)
Luminance0.8856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF77F #7F83FB
analogous
#FBB97F #FBF77F #C1FB7F
triadic
#FBF77F #7FFBF7 #F77FFB
tetradic
#FBF77F #7FFBB9 #7F83FB #FB7FC1
square
#FBF77F #7FFBB9 #7F83FB #FB7FC1
split-complementary
#FBF77F #7FC1FB #B97FFB
monochromatic
#F7F008 #F9F344 #FBF77F #FDFBBA #FEFDE1

Accessibility & contrast

On white

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

On black

18.71
#FBF77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF77F
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF77F#FFFFFF#000000##000000
##FBF77F1.001.1218.7118.71
#FFFFFF1.121.0021.0021.00
#00000018.7121.001.001.00
##00000018.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF74
Deuteranopia (green-blind)
#FFF485
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fbf77f;
/* rgb */ color: rgb(251, 247, 127);
/* oklch */ color: oklch(95.5% 0.142 107.1);
Tailwind
colors: {
  custom: {
    50: '#fff9a7',
    500: '#fbf77f',
    950: '#000000',
  },
}
SCSS
$custom: #fbf77f;
$custom-light: #fff9a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf77f",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 127
  },
  "hsl": {
    "h": 58.065,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.95536,
    "c": 0.14227,
    "h": 107.1
  },
  "luminance": 0.88563
}

Semantic roles & 50–950 ramp

primary
#FBF77F
secondary
#464AD9
accent
#07E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FBF77F

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

Preview Lab → · Contrast checker → · Palette generator →

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