#FBF76B#FBF76B

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

Color values

HEX#FBF76B
RGBrgb(251, 247, 107)
HSLhsl(58, 95%, 70%)
HSVhsv(58, 57%, 98%)
CMYKcmyk(0%, 1.6%, 57.4%, 1.6%)
CIE-LABlab(95.20, -15.84, 66.19)
CIE-LCHlch(95.20, 68.06, 103.46°)
OKLaboklab(95.32% -0.0482 0.1525)
OKLCHoklch(95.32% 0.16 107.6)
XYZxyz(75.7006, 88.0945, 26.9234)
Luminance0.8809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF76B #6B6FFB
analogous
#FBAF6B #FBF76B #B7FB6B
triadic
#FBF76B #6BFBF7 #F76BFB
tetradic
#FBF76B #6BFBAF #6B6FFB #FB6BB7
square
#FBF76B #6BFBAF #6B6FFB #FB6BB7
split-complementary
#FBF76B #6BB7FB #AF6BFB
monochromatic
#E5DF06 #F9F42F #FBF76B #FDFAA7 #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF76B#FFFFFF#000000##000000
##FBF76B1.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)
#FFEE5C
Deuteranopia (green-blind)
#FFF473
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf76b;
/* rgb */ color: rgb(251, 247, 107);
/* oklch */ color: oklch(95.3% 0.160 107.6);
Tailwind
colors: {
  custom: {
    50: '#fff99a',
    500: '#fbf76b',
    950: '#000000',
  },
}
SCSS
$custom: #fbf76b;
$custom-light: #fff99a;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf76b",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 107
  },
  "hsl": {
    "h": 58.333,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.95315,
    "c": 0.15997,
    "h": 107.6
  },
  "luminance": 0.88092
}

Semantic roles & 50–950 ramp

primary
#FBF76B
secondary
#3439D6
accent
#06E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF76B

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

Preview Lab → · Contrast checker → · Palette generator →

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