#FBF56A#FBF56A

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

Color values

HEX#FBF56A
RGBrgb(251, 245, 106)
HSLhsl(58, 95%, 70%)
HSVhsv(58, 58%, 98%)
CMYKcmyk(0%, 2.4%, 57.8%, 1.6%)
CIE-LABlab(94.68, -14.94, 66.04)
CIE-LCHlch(94.68, 67.71, 102.75°)
OKLaboklab(94.9% -0.0458 0.1521)
OKLCHoklch(94.9% 0.159 106.8)
XYZxyz(75.0399, 86.8570, 26.4451)
Luminance0.8686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF56A #6A70FB
analogous
#FBAC6A #FBF56A #B9FB6A
triadic
#FBF56A #6AFBF5 #F56AFB
tetradic
#FBF56A #6AFBAC #6A70FB #FB6AB9
square
#FBF56A #6AFBAC #6A70FB #FB6AB9
split-complementary
#FBF56A #6AB9FB #AC6AFB
monochromatic
#E4DB06 #F9F12E #FBF56A #FDF9A6 #FEFDE1

Accessibility & contrast

On white

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

On black

18.37
#FBF56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF56A
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF56A#FFFFFF#000000##000000
##FBF56A1.001.1418.3718.37
#FFFFFF1.141.0021.0021.00
#00000018.3721.001.001.00
##00000018.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf56a;
/* rgb */ color: rgb(251, 245, 106);
/* oklch */ color: oklch(94.9% 0.159 106.8);
Tailwind
colors: {
  custom: {
    50: '#fff899',
    500: '#fbf56a',
    950: '#000000',
  },
}
SCSS
$custom: #fbf56a;
$custom-light: #fff899;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf56a",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 106
  },
  "hsl": {
    "h": 57.517,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.94896,
    "c": 0.15881,
    "h": 106.8
  },
  "luminance": 0.86855
}

Semantic roles & 50–950 ramp

primary
#FBF56A
secondary
#333AD6
accent
#09E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF56A

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

Preview Lab → · Contrast checker → · Palette generator →

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