#FBF56F#FBF56F

#FBF56F is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 94.9% C 0.155 H 106.6°. Best body text is #000000 at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#FBF56F
RGBrgb(251, 245, 111)
HSLhsl(57, 95%, 71%)
HSVhsv(57, 56%, 98%)
CMYKcmyk(0%, 2.4%, 55.8%, 1.6%)
CIE-LABlab(94.72, -14.59, 63.94)
CIE-LCHlch(94.72, 65.58, 102.85°)
OKLaboklab(94.95% -0.0442 0.1482)
OKLCHoklch(94.95% 0.155 106.6)
XYZxyz(75.3076, 86.9640, 27.8546)
Luminance0.8696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF56F #6F75FB
analogous
#FBAF6F #FBF56F #BBFB6F
triadic
#FBF56F #6FFBF5 #F56FFB
tetradic
#FBF56F #6FFBAF #6F75FB #FB6FBB
square
#FBF56F #6FFBAF #6F75FB #FB6FBB
split-complementary
#FBF56F #6FBBFB #AF6FFB
monochromatic
#E9DF06 #F9F133 #FBF56F #FDF9AB #FEFDE1

Accessibility & contrast

On white

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

On black

18.39
#FBF56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF56F
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF56F#FFFFFF#000000##000000
##FBF56F1.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED61
Deuteranopia (green-blind)
#FFF276
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf56f;
/* rgb */ color: rgb(251, 245, 111);
/* oklch */ color: oklch(94.9% 0.155 106.6);
Tailwind
colors: {
  custom: {
    50: '#fff89c',
    500: '#fbf56f',
    950: '#000000',
  },
}
SCSS
$custom: #fbf56f;
$custom-light: #fff89c;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf56f",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 111
  },
  "hsl": {
    "h": 57.429,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.94946,
    "c": 0.15464,
    "h": 106.6
  },
  "luminance": 0.86962
}

Semantic roles & 50–950 ramp

primary
#FBF56F
secondary
#383FD6
accent
#0AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF56F

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

Preview Lab → · Contrast checker → · Palette generator →

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