#FBF77C#FBF77C

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

Color values

HEX#FBF77C
RGBrgb(251, 247, 124)
HSLhsl(58, 94%, 74%)
HSVhsv(58, 51%, 98%)
CMYKcmyk(0%, 1.6%, 50.6%, 1.6%)
CIE-LABlab(95.37, -14.55, 58.89)
CIE-LCHlch(95.37, 60.66, 103.88°)
OKLaboklab(95.5% -0.0428 0.1386)
OKLCHoklch(95.5% 0.145 107.2)
XYZxyz(76.6845, 88.4881, 32.1053)
Luminance0.8849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF77C #7C80FB
analogous
#FBB77C #FBF77C #BFFB7C
triadic
#FBF77C #7CFBF7 #F77CFB
tetradic
#FBF77C #7CFBB7 #7C80FB #FB7CBF
square
#FBF77C #7CFBB7 #7C80FB #FB7CBF
split-complementary
#FBF77C #7CBFFB #B77CFB
monochromatic
#F5EE07 #F9F341 #FBF77C #FDFBB7 #FEFDE1

Accessibility & contrast

On white

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

On black

18.70
#FBF77C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF77C
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF77C#FFFFFF#000000##000000
##FBF77C1.001.1218.7018.70
#FFFFFF1.121.0021.0021.00
#00000018.7021.001.001.00
##00000018.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf77c;
/* rgb */ color: rgb(251, 247, 124);
/* oklch */ color: oklch(95.5% 0.145 107.2);
Tailwind
colors: {
  custom: {
    50: '#fff9a5',
    500: '#fbf77c',
    950: '#000000',
  },
}
SCSS
$custom: #fbf77c;
$custom-light: #fff9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf77c",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 124
  },
  "hsl": {
    "h": 58.11,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.955,
    "c": 0.1451,
    "h": 107.2
  },
  "luminance": 0.88486
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF77C

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

Preview Lab → · Contrast checker → · Palette generator →

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