#FBF77A#FBF77A

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

Color values

HEX#FBF77A
RGBrgb(251, 247, 122)
HSLhsl(58, 94%, 73%)
HSVhsv(58, 51%, 98%)
CMYKcmyk(0%, 1.6%, 51.4%, 1.6%)
CIE-LABlab(95.35, -14.72, 59.77)
CIE-LCHlch(95.35, 61.56, 103.83°)
OKLaboklab(95.48% -0.0435 0.1404)
OKLCHoklch(95.48% 0.147 107.2)
XYZxyz(76.5593, 88.4380, 31.4459)
Luminance0.8844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF77A #7A7EFB
analogous
#FBB77A #FBF77A #BEFB7A
triadic
#FBF77A #7AFBF7 #F77AFB
tetradic
#FBF77A #7AFBB7 #7A7EFB #FB7ABE
square
#FBF77A #7AFBB7 #7A7EFB #FB7ABE
split-complementary
#FBF77A #7ABEFB #B77AFB
monochromatic
#F3EC07 #F9F33F #FBF77A #FDFBB5 #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF77A#FFFFFF#000000##000000
##FBF77A1.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)
#FFEF6E
Deuteranopia (green-blind)
#FFF480
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fbf77a;
/* rgb */ color: rgb(251, 247, 122);
/* oklch */ color: oklch(95.5% 0.147 107.2);
Tailwind
colors: {
  custom: {
    50: '#fff9a4',
    500: '#fbf77a',
    950: '#000000',
  },
}
SCSS
$custom: #fbf77a;
$custom-light: #fff9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf77a",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 122
  },
  "hsl": {
    "h": 58.14,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.95477,
    "c": 0.14693,
    "h": 107.2
  },
  "luminance": 0.88436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF77A

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

Preview Lab → · Contrast checker → · Palette generator →

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