#FBF56E#FBF56E

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

Color values

HEX#FBF56E
RGBrgb(251, 245, 110)
HSLhsl(57, 95%, 71%)
HSVhsv(57, 56%, 98%)
CMYKcmyk(0%, 2.4%, 56.2%, 1.6%)
CIE-LABlab(94.71, -14.66, 64.36)
CIE-LCHlch(94.71, 66.01, 102.83°)
OKLaboklab(94.94% -0.0446 0.149)
OKLCHoklch(94.94% 0.155 106.7)
XYZxyz(75.2528, 86.9421, 27.5663)
Luminance0.8694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF56E #6E74FB
analogous
#FBAE6E #FBF56E #BAFB6E
triadic
#FBF56E #6EFBF5 #F56EFB
tetradic
#FBF56E #6EFBAE #6E74FB #FB6EBA
square
#FBF56E #6EFBAE #6E74FB #FB6EBA
split-complementary
#FBF56E #6EBAFB #AE6EFB
monochromatic
#E8DF06 #F9F132 #FBF56E #FDF9AA #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF56E#FFFFFF#000000##000000
##FBF56E1.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)
#FFED60
Deuteranopia (green-blind)
#FFF275
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf56e;
/* rgb */ color: rgb(251, 245, 110);
/* oklch */ color: oklch(94.9% 0.155 106.7);
Tailwind
colors: {
  custom: {
    50: '#fff89c',
    500: '#fbf56e',
    950: '#000000',
  },
}
SCSS
$custom: #fbf56e;
$custom-light: #fff89c;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf56e",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 110
  },
  "hsl": {
    "h": 57.447,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94936,
    "c": 0.15548,
    "h": 106.7
  },
  "luminance": 0.8694
}

Semantic roles & 50–950 ramp

primary
#FBF56E
secondary
#373ED6
accent
#0AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF56E

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

Preview Lab → · Contrast checker → · Palette generator →

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