#FBD871#FBD871

#FBD871 is a very light, vivid orange. Relative luminance 0.708; OKLCH L 89.1% C 0.128 H 90.9°. Best body text is #000000 at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#FBD871
RGBrgb(251, 216, 113)
HSLhsl(45, 95%, 71%)
HSVhsv(45, 55%, 98%)
CMYKcmyk(0%, 13.9%, 55%, 1.6%)
CIE-LABlab(87.40, 0.03, 54.60)
CIE-LCHlch(87.40, 54.60, 89.97°)
OKLaboklab(89.15% -0.002 0.1283)
OKLCHoklch(89.15% 0.128 90.9)
XYZxyz(67.3229, 70.8166, 25.7424)
Luminance0.7081 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBD871 #7194FB
analogous
#FB9371 #FBD871 #D9FB71
triadic
#FBD871 #71FBD8 #D871FB
tetradic
#FBD871 #71FB93 #7194FB #FB71D9
square
#FBD871 #71FB93 #7194FB #FB71D9
split-complementary
#FBD871 #71D9FB #9371FB
monochromatic
#EBB107 #F9C835 #FBD871 #FDE8AD #FEF7E1

Accessibility & contrast

On white

1.38
#FBD871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.16
#FBD871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBD871
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBD871#FFFFFF#000000##000000
##FBD8711.001.3815.1615.16
#FFFFFF1.381.0021.0021.00
#00000015.1621.001.001.00
##00000015.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD567
Deuteranopia (green-blind)
#F4DF75
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #fbd871;
/* rgb */ color: rgb(251, 216, 113);
/* oklch */ color: oklch(89.1% 0.128 90.9);
Tailwind
colors: {
  custom: {
    50: '#ffe39c',
    500: '#fbd871',
    950: '#000000',
  },
}
SCSS
$custom: #fbd871;
$custom-light: #ffe39c;
$custom-dark: #000000;
JSON
{
  "hex": "#fbd871",
  "rgb": {
    "r": 251,
    "g": 216,
    "b": 113
  },
  "hsl": {
    "h": 44.783,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.89145,
    "c": 0.12827,
    "h": 90.9
  },
  "luminance": 0.70813
}

Semantic roles & 50–950 ramp

primary
#FBD871
secondary
#3961D7
accent
#3AE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #FBD871

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

Preview Lab → · Contrast checker → · Palette generator →

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