#FBF77B#FBF77B

#FBF77B is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.5% C 0.146 H 107.2°. Best body text is #000000 at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#FBF77B
RGBrgb(251, 247, 123)
HSLhsl(58, 94%, 73%)
HSVhsv(58, 51%, 98%)
CMYKcmyk(0%, 1.6%, 51%, 1.6%)
CIE-LABlab(95.36, -14.64, 59.33)
CIE-LCHlch(95.36, 61.11, 103.86°)
OKLaboklab(95.49% -0.0432 0.1395)
OKLCHoklch(95.49% 0.146 107.2)
XYZxyz(76.6216, 88.4629, 31.7739)
Luminance0.8846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF77B #7B7FFB
analogous
#FBB77B #FBF77B #BFFB7B
triadic
#FBF77B #7BFBF7 #F77BFB
tetradic
#FBF77B #7BFBB7 #7B7FFB #FB7BBF
square
#FBF77B #7BFBB7 #7B7FFB #FB7BBF
split-complementary
#FBF77B #7BBFFB #B77BFB
monochromatic
#F4ED07 #F9F340 #FBF77B #FDFBB6 #FEFDE1

Accessibility & contrast

On white

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

On black

18.69
#FBF77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF77B
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF77B#FFFFFF#000000##000000
##FBF77B1.001.1218.6918.69
#FFFFFF1.121.0021.0021.00
#00000018.6921.001.001.00
##00000018.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf77b;
/* rgb */ color: rgb(251, 247, 123);
/* oklch */ color: oklch(95.5% 0.146 107.2);
Tailwind
colors: {
  custom: {
    50: '#fff9a4',
    500: '#fbf77b',
    950: '#000000',
  },
}
SCSS
$custom: #fbf77b;
$custom-light: #fff9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf77b",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 123
  },
  "hsl": {
    "h": 58.125,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.95488,
    "c": 0.14601,
    "h": 107.2
  },
  "luminance": 0.88461
}

Semantic roles & 50–950 ramp

primary
#FBF77B
secondary
#4247D8
accent
#07E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF77B

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

Preview Lab → · Contrast checker → · Palette generator →

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