#FBF56B#FBF56B

#FBF56B is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 94.9% C 0.158 H 106.7°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#FBF56B
RGBrgb(251, 245, 107)
HSLhsl(58, 95%, 70%)
HSVhsv(58, 57%, 98%)
CMYKcmyk(0%, 2.4%, 57.4%, 1.6%)
CIE-LABlab(94.69, -14.87, 65.62)
CIE-LCHlch(94.69, 67.29, 102.77°)
OKLaboklab(94.91% -0.0455 0.1513)
OKLCHoklch(94.91% 0.158 106.7)
XYZxyz(75.0923, 86.8779, 26.7206)
Luminance0.8688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF56B #6B71FB
analogous
#FBAD6B #FBF56B #B9FB6B
triadic
#FBF56B #6BFBF5 #F56BFB
tetradic
#FBF56B #6BFBAD #6B71FB #FB6BB9
square
#FBF56B #6BFBAD #6B71FB #FB6BB9
split-complementary
#FBF56B #6BB9FB #AD6BFB
monochromatic
#E5DC06 #F9F12F #FBF56B #FDF9A7 #FEFDE1

Accessibility & contrast

On white

1.14
#FBF56B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.38
#FBF56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF56B
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF56B#FFFFFF#000000##000000
##FBF56B1.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5C
Deuteranopia (green-blind)
#FFF273
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf56b;
/* rgb */ color: rgb(251, 245, 107);
/* oklch */ color: oklch(94.9% 0.158 106.7);
Tailwind
colors: {
  custom: {
    50: '#fff89a',
    500: '#fbf56b',
    950: '#000000',
  },
}
SCSS
$custom: #fbf56b;
$custom-light: #fff89a;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf56b",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 107
  },
  "hsl": {
    "h": 57.5,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.94906,
    "c": 0.15799,
    "h": 106.7
  },
  "luminance": 0.86876
}

Semantic roles & 50–950 ramp

primary
#FBF56B
secondary
#343BD6
accent
#0AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF56B

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

Preview Lab → · Contrast checker → · Palette generator →

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