#FBF587#FBF587

#FBF587 is a very light, vivid yellow. Relative luminance 0.876; OKLCH L 95.2% C 0.132 H 105.9°. Best body text is #000000 at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#FBF587
RGBrgb(251, 245, 135)
HSLhsl(57, 94%, 76%)
HSVhsv(57, 46%, 98%)
CMYKcmyk(0%, 2.4%, 46.2%, 1.6%)
CIE-LABlab(94.98, -12.62, 53.34)
CIE-LCHlch(94.98, 54.81, 103.32°)
OKLaboklab(95.23% -0.0362 0.1274)
OKLCHoklch(95.23% 0.132 105.9)
XYZxyz(76.8110, 87.5654, 35.7726)
Luminance0.8756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF587 #878DFB
analogous
#FBBB87 #FBF587 #C7FB87
triadic
#FBF587 #87FBF5 #F587FB
tetradic
#FBF587 #87FBBB #878DFB #FB87C7
square
#FBF587 #87FBBB #878DFB #FB87C7
split-complementary
#FBF587 #87C7FB #BB87FB
monochromatic
#F7EB11 #F9F04C #FBF587 #FDFAC2 #FEFDE1

Accessibility & contrast

On white

1.13
#FBF587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.51
#FBF587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF587
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF587#FFFFFF#000000##000000
##FBF5871.001.1318.5118.51
#FFFFFF1.131.0021.0021.00
#00000018.5121.001.001.00
##00000018.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7E
Deuteranopia (green-blind)
#FFF38C
Tritanopia (blue-blind)
#FFE8DB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf587;
/* rgb */ color: rgb(251, 245, 135);
/* oklch */ color: oklch(95.2% 0.132 105.9);
Tailwind
colors: {
  custom: {
    50: '#fef8ac',
    500: '#fbf587',
    950: '#000000',
  },
}
SCSS
$custom: #fbf587;
$custom-light: #fef8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf587",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 135
  },
  "hsl": {
    "h": 56.897,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.95231,
    "c": 0.13241,
    "h": 105.9
  },
  "luminance": 0.87563
}

Semantic roles & 50–950 ramp

primary
#FBF587
secondary
#4C54DA
accent
#0CE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF587

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

Preview Lab → · Contrast checker → · Palette generator →

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