#FBD987#FBD987

#FBD987 is a very light, moderate orange. Relative luminance 0.719; OKLCH L 89.6% C 0.108 H 87.7°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#FBD987
RGBrgb(251, 217, 135)
HSLhsl(42, 94%, 76%)
HSVhsv(42, 46%, 98%)
CMYKcmyk(0%, 13.5%, 46.2%, 1.6%)
CIE-LABlab(87.91, 1.41, 44.60)
CIE-LCHlch(87.91, 44.63, 88.19°)
OKLaboklab(89.64% 0.0043 0.1079)
OKLCHoklch(89.64% 0.108 87.7)
XYZxyz(68.9720, 71.8873, 33.1596)
Luminance0.7188 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD987 #87A9FB
analogous
#FB9F87 #FBD987 #E3FB87
triadic
#FBD987 #87FBD9 #D987FB
tetradic
#FBD987 #87FB9F #87A9FB #FB87E3
square
#FBD987 #87FB9F #87A9FB #FB87E3
split-complementary
#FBD987 #87E3FB #9F87FB
monochromatic
#F7B311 #F9C64C #FBD987 #FDECC2 #FEF6E1

Accessibility & contrast

On white

1.37
#FBD987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.38
#FBD987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD987
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD987#FFFFFF#000000##000000
##FBD9871.001.3715.3815.38
#FFFFFF1.371.0021.0021.00
#00000015.3821.001.001.00
##00000015.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD781
Deuteranopia (green-blind)
#F3E08A
Tritanopia (blue-blind)
#FFCCC5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #fbd987;
/* rgb */ color: rgb(251, 217, 135);
/* oklch */ color: oklch(89.6% 0.108 87.7);
Tailwind
colors: {
  custom: {
    50: '#ffe4ab',
    500: '#fbd987',
    950: '#000000',
  },
}
SCSS
$custom: #fbd987;
$custom-light: #ffe4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd987",
  "rgb": {
    "r": 251,
    "g": 217,
    "b": 135
  },
  "hsl": {
    "h": 42.414,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.89641,
    "c": 0.10797,
    "h": 87.7
  },
  "luminance": 0.71884
}

Semantic roles & 50–950 ramp

primary
#FBD987
secondary
#4C76DA
accent
#43E600
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181510
muted
#868481

Preview Lab

Preview with #FBD987

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

Preview Lab → · Contrast checker → · Palette generator →

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