#FBF77E#FBF77E

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

Color values

HEX#FBF77E
RGBrgb(251, 247, 126)
HSLhsl(58, 94%, 74%)
HSVhsv(58, 50%, 98%)
CMYKcmyk(0%, 1.6%, 49.8%, 1.6%)
CIE-LABlab(95.39, -14.39, 58.01)
CIE-LCHlch(95.39, 59.76, 103.93°)
OKLaboklab(95.52% -0.0421 0.1369)
OKLCHoklch(95.52% 0.143 107.1)
XYZxyz(76.8122, 88.5392, 32.7781)
Luminance0.8854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF77E #7E82FB
analogous
#FBB97E #FBF77E #C1FB7E
triadic
#FBF77E #7EFBF7 #F77EFB
tetradic
#FBF77E #7EFBB9 #7E82FB #FB7EC1
square
#FBF77E #7EFBB9 #7E82FB #FB7EC1
split-complementary
#FBF77E #7EC1FB #B97EFB
monochromatic
#F7EF08 #F9F343 #FBF77E #FDFBB9 #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF77E#FFFFFF#000000##000000
##FBF77E1.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)
#FFEF73
Deuteranopia (green-blind)
#FFF484
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fbf77e;
/* rgb */ color: rgb(251, 247, 126);
/* oklch */ color: oklch(95.5% 0.143 107.1);
Tailwind
colors: {
  custom: {
    50: '#fff9a6',
    500: '#fbf77e',
    950: '#000000',
  },
}
SCSS
$custom: #fbf77e;
$custom-light: #fff9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf77e",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 126
  },
  "hsl": {
    "h": 58.08,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.95524,
    "c": 0.14322,
    "h": 107.1
  },
  "luminance": 0.88537
}

Semantic roles & 50–950 ramp

primary
#FBF77E
secondary
#4549D9
accent
#07E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FBF77E

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

Preview Lab → · Contrast checker → · Palette generator →

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