#FFFB56#FFFB56

#FFFB56 is a very light, vivid yellow. Relative luminance 0.909; OKLCH L 96.3% C 0.179 H 108.0°. Best body text is #000000 at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#FFFB56
RGBrgb(255, 251, 86)
HSLhsl(59, 100%, 67%)
HSVhsv(59, 66%, 100%)
CMYKcmyk(0%, 1.6%, 66.3%, 0%)
CIE-LABlab(96.38, -17.45, 75.91)
CIE-LCHlch(96.38, 77.89, 102.94°)
OKLaboklab(96.28% -0.0551 0.1701)
OKLCHoklch(96.28% 0.179 108)
XYZxyz(77.4196, 90.9287, 22.2751)
Luminance0.9093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFB56 #565AFF
analogous
#FFA756 #FFFB56 #AFFF56
triadic
#FFFB56 #56FFFB #FB56FF
tetradic
#FFFB56 #56FFA7 #565AFF #FF56AF
square
#FFFB56 #56FFA7 #565AFF #FF56AF
split-complementary
#FFFB56 #56AFFF #A756FF
monochromatic
#DBD500 #FFFA19 #FFFB56 #FFFC93 #FFFED0

Accessibility & contrast

On white

1.09
#FFFB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.19
#FFFB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFB56
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFB56#FFFFFF#000000##000000
##FFFB561.001.0919.1919.19
#FFFFFF1.091.0021.0021.00
#00000019.1921.001.001.00
##00000019.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF13E
Deuteranopia (green-blind)
#FFF761
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffb56;
/* rgb */ color: rgb(255, 251, 86);
/* oklch */ color: oklch(96.3% 0.179 108.0);
Tailwind
colors: {
  custom: {
    50: '#fffc8e',
    500: '#fffb56',
    950: '#000000',
  },
}
SCSS
$custom: #fffb56;
$custom-light: #fffc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#fffb56",
  "rgb": {
    "r": 255,
    "g": 251,
    "b": 86
  },
  "hsl": {
    "h": 58.58,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.9628,
    "c": 0.17877,
    "h": 108
  },
  "luminance": 0.90926
}

Semantic roles & 50–950 ramp

primary
#FFFB56
secondary
#252AD4
accent
#05E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFB56

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

Preview Lab → · Contrast checker → · Palette generator →

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