#FBF566#FBF566

#FBF566 is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.9% C 0.162 H 106.9°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#FBF566
RGBrgb(251, 245, 102)
HSLhsl(58, 95%, 69%)
HSVhsv(58, 59%, 98%)
CMYKcmyk(0%, 2.4%, 59.4%, 1.6%)
CIE-LABlab(94.64, -15.21, 67.69)
CIE-LCHlch(94.64, 69.37, 102.66°)
OKLaboklab(94.86% -0.047 0.1551)
OKLCHoklch(94.86% 0.162 106.9)
XYZxyz(74.8368, 86.7757, 25.3751)
Luminance0.8677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF566 #666CFB
analogous
#FBAB66 #FBF566 #B7FB66
triadic
#FBF566 #66FBF5 #F566FB
tetradic
#FBF566 #66FBAB #666CFB #FB66B7
square
#FBF566 #66FBAB #666CFB #FB66B7
split-complementary
#FBF566 #66B7FB #AB66FB
monochromatic
#E1D806 #F9F12A #FBF566 #FDF9A2 #FEFDDD

Accessibility & contrast

On white

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

On black

18.35
#FBF566 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF566
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF566#FFFFFF#000000##000000
##FBF5661.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC56
Deuteranopia (green-blind)
#FFF26E
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf566;
/* rgb */ color: rgb(251, 245, 102);
/* oklch */ color: oklch(94.9% 0.162 106.9);
Tailwind
colors: {
  custom: {
    50: '#fff897',
    500: '#fbf566',
    950: '#000000',
  },
}
SCSS
$custom: #fbf566;
$custom-light: #fff897;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf566",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 102
  },
  "hsl": {
    "h": 57.584,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.94857,
    "c": 0.16202,
    "h": 106.9
  },
  "luminance": 0.86773
}

Semantic roles & 50–950 ramp

primary
#FBF566
secondary
#3037D5
accent
#09E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF566

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

Preview Lab → · Contrast checker → · Palette generator →

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