#FBF756#FBF756

#FBF756 is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.1% C 0.176 H 107.9°. Best body text is #000000 at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#FBF756
RGBrgb(251, 247, 86)
HSLhsl(59, 95%, 66%)
HSVhsv(59, 66%, 98%)
CMYKcmyk(0%, 1.6%, 65.7%, 1.6%)
CIE-LABlab(95.04, -17.13, 74.45)
CIE-LCHlch(95.04, 76.39, 102.96°)
OKLaboklab(95.13% -0.054 0.1671)
OKLCHoklch(95.13% 0.176 107.9)
XYZxyz(74.7268, 87.7050, 21.7947)
Luminance0.8770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF756 #565AFB
analogous
#FBA456 #FBF756 #ADFB56
triadic
#FBF756 #56FBF7 #F756FB
tetradic
#FBF756 #56FBA4 #565AFB #FB56AD
square
#FBF756 #56FBA4 #565AFB #FB56AD
split-complementary
#FBF756 #56ADFB #A456FB
monochromatic
#D2CD05 #FAF41A #FBF756 #FCFA92 #FEFDCE

Accessibility & contrast

On white

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

On black

18.54
#FBF756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF756
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF756#FFFFFF#000000##000000
##FBF7561.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE3F
Deuteranopia (green-blind)
#FFF361
Tritanopia (blue-blind)
#FFE8D6
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf756;
/* rgb */ color: rgb(251, 247, 86);
/* oklch */ color: oklch(95.1% 0.176 107.9);
Tailwind
colors: {
  custom: {
    50: '#fff98e',
    500: '#fbf756',
    950: '#000000',
  },
}
SCSS
$custom: #fbf756;
$custom-light: #fff98e;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf756",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 86
  },
  "hsl": {
    "h": 58.545,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.95132,
    "c": 0.1756,
    "h": 107.9
  },
  "luminance": 0.87703
}

Semantic roles & 50–950 ramp

primary
#FBF756
secondary
#292DCC
accent
#06E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FBF756

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

Preview Lab → · Contrast checker → · Palette generator →

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