#FBF76C#FBF76C

#FBF76C is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.3% C 0.159 H 107.5°. Best body text is #000000 at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#FBF76C
RGBrgb(251, 247, 108)
HSLhsl(58, 95%, 70%)
HSVhsv(58, 57%, 98%)
CMYKcmyk(0%, 1.6%, 57%, 1.6%)
CIE-LABlab(95.21, -15.77, 65.78)
CIE-LCHlch(95.21, 67.64, 103.48°)
OKLaboklab(95.33% -0.0479 0.1518)
OKLCHoklch(95.33% 0.159 107.5)
XYZxyz(75.7535, 88.1157, 27.2020)
Luminance0.8811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF76C #6C70FB
analogous
#FBB06C #FBF76C #B7FB6C
triadic
#FBF76C #6CFBF7 #F76CFB
tetradic
#FBF76C #6CFBB0 #6C70FB #FB6CB7
square
#FBF76C #6CFBB0 #6C70FB #FB6CB7
split-complementary
#FBF76C #6CB7FB #B06CFB
monochromatic
#E6E006 #F9F430 #FBF76C #FDFAA8 #FEFDE1

Accessibility & contrast

On white

1.13
#FBF76C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.62
#FBF76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF76C
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF76C#FFFFFF#000000##000000
##FBF76C1.001.1318.6218.62
#FFFFFF1.131.0021.0021.00
#00000018.6221.001.001.00
##00000018.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5D
Deuteranopia (green-blind)
#FFF474
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf76c;
/* rgb */ color: rgb(251, 247, 108);
/* oklch */ color: oklch(95.3% 0.159 107.5);
Tailwind
colors: {
  custom: {
    50: '#fff99b',
    500: '#fbf76c',
    950: '#000000',
  },
}
SCSS
$custom: #fbf76c;
$custom-light: #fff99b;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf76c",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 108
  },
  "hsl": {
    "h": 58.322,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.95325,
    "c": 0.15914,
    "h": 107.5
  },
  "luminance": 0.88113
}

Semantic roles & 50–950 ramp

primary
#FBF76C
secondary
#353AD6
accent
#06E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF76C

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

Preview Lab → · Contrast checker → · Palette generator →

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