#FBC987#FBC987

#FBC987 is a very light, moderate orange. Relative luminance 0.640; OKLCH L 86.6% C 0.101 H 73.6°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#FBC987
RGBrgb(251, 201, 135)
HSLhsl(34, 94%, 76%)
HSVhsv(34, 46%, 98%)
CMYKcmyk(0%, 19.9%, 46.2%, 1.6%)
CIE-LABlab(83.98, 9.65, 39.62)
CIE-LCHlch(83.98, 40.78, 76.31°)
OKLaboklab(86.55% 0.0285 0.0966)
OKLCHoklch(86.55% 0.101 73.6)
XYZxyz(65.0460, 64.0354, 31.8509)
Luminance0.6403 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBC987 #87B9FB
analogous
#FB8F87 #FBC987 #F3FB87
triadic
#FBC987 #87FBC9 #C987FB
tetradic
#FBC987 #87FB8F #87B9FB #FB87F3
square
#FBC987 #87FB8F #87B9FB #FB87F3
split-complementary
#FBC987 #87F3FB #8F87FB
monochromatic
#F79411 #F9AE4C #FBC987 #FDE4C2 #FEF2E1

Accessibility & contrast

On white

1.52
#FBC987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.81
#FBC987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBC987
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBC987#FFFFFF#000000##000000
##FBC9871.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCA82
Deuteranopia (green-blind)
#E7D689
Tritanopia (blue-blind)
#FFBCB8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #fbc987;
/* rgb */ color: rgb(251, 201, 135);
/* oklch */ color: oklch(86.6% 0.101 73.6);
Tailwind
colors: {
  custom: {
    50: '#ffd9ab',
    500: '#fbc987',
    950: '#000000',
  },
}
SCSS
$custom: #fbc987;
$custom-light: #ffd9ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fbc987",
  "rgb": {
    "r": 251,
    "g": 201,
    "b": 135
  },
  "hsl": {
    "h": 34.138,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.86554,
    "c": 0.1007,
    "h": 73.6
  },
  "luminance": 0.64032
}

Semantic roles & 50–950 ramp

primary
#FBC987
secondary
#4C89DA
accent
#63E600
background
#FFFEFD
surface
#FFFBF7
border
#D7D4D0
text
#181410
muted
#868381

Preview Lab

Preview with #FBC987

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

Preview Lab → · Contrast checker → · Palette generator →

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