#FBE871#FBE871

#FBE871 is a very light, vivid yellow. Relative luminance 0.794; OKLCH L 92.3% C 0.141 H 100.4°. Best body text is #000000 at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#FBE871
RGBrgb(251, 232, 113)
HSLhsl(52, 95%, 71%)
HSVhsv(52, 55%, 98%)
CMYKcmyk(0%, 7.6%, 55%, 1.6%)
CIE-LABlab(91.42, -8.03, 59.29)
CIE-LCHlch(91.42, 59.83, 97.72°)
OKLaboklab(92.33% -0.0253 0.1384)
OKLCHoklch(92.33% 0.141 100.4)
XYZxyz(71.6234, 79.4175, 27.1759)
Luminance0.7942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE871 #7184FB
analogous
#FBA371 #FBE871 #C9FB71
triadic
#FBE871 #71FBE8 #E871FB
tetradic
#FBE871 #71FBA3 #7184FB #FB71C9
square
#FBE871 #71FBA3 #7184FB #FB71C9
split-complementary
#FBE871 #71C9FB #A371FB
monochromatic
#EBCC07 #F9DE35 #FBE871 #FDF2AD #FEFAE1

Accessibility & contrast

On white

1.24
#FBE871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.88
#FBE871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE871
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE871#FFFFFF#000000##000000
##FBE8711.001.2416.8816.88
#FFFFFF1.241.0021.0021.00
#00000016.8821.001.001.00
##00000016.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE265
Deuteranopia (green-blind)
#FFEA77
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #fbe871;
/* rgb */ color: rgb(251, 232, 113);
/* oklch */ color: oklch(92.3% 0.141 100.4);
Tailwind
colors: {
  custom: {
    50: '#ffef9d',
    500: '#fbe871',
    950: '#000000',
  },
}
SCSS
$custom: #fbe871;
$custom-light: #ffef9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe871",
  "rgb": {
    "r": 251,
    "g": 232,
    "b": 113
  },
  "hsl": {
    "h": 51.739,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.92331,
    "c": 0.14069,
    "h": 100.4
  },
  "luminance": 0.79415
}

Semantic roles & 50–950 ramp

primary
#FBE871
secondary
#394FD7
accent
#20E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FBE871

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

Preview Lab → · Contrast checker → · Palette generator →

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