#BBC871#BBC871

#BBC871 is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.3% C 0.112 H 116.0°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#BBC871
RGBrgb(187, 200, 113)
HSLhsl(69, 44%, 61%)
HSVhsv(69, 44%, 78%)
CMYKcmyk(6.5%, 0%, 43.5%, 21.6%)
CIE-LABlab(77.91, -17.64, 41.89)
CIE-LCHlch(77.91, 45.45, 112.83°)
OKLaboklab(80.34% -0.0492 0.1011)
OKLCHoklch(80.34% 0.112 116)
XYZxyz(44.1288, 53.0661, 23.5376)
Luminance0.5307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC871 #7E71C8
analogous
#C8AA71 #BBC871 #90C871
triadic
#BBC871 #71BBC8 #C871BB
tetradic
#BBC871 #71C8AA #7E71C8 #C87190
square
#BBC871 #71C8AA #7E71C8 #C87190
split-complementary
#BBC871 #7190C8 #AA71C8
monochromatic
#7D8935 #A5B646 #BBC871 #D0D99D #E5EAC9

Accessibility & contrast

On white

1.81
#BBC871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#BBC871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC871
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC871#FFFFFF#000000##000000
##BBC8711.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C06A
Deuteranopia (green-blind)
#D2C175
Tritanopia (blue-blind)
#C4BFB3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bbc871;
/* rgb */ color: rgb(187, 200, 113);
/* oklch */ color: oklch(80.3% 0.112 116.0);
Tailwind
colors: {
  custom: {
    50: '#d1d89b',
    500: '#bbc871',
    950: '#000000',
  },
}
SCSS
$custom: #bbc871;
$custom-light: #d1d89b;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc871",
  "rgb": {
    "r": 187,
    "g": 200,
    "b": 113
  },
  "hsl": {
    "h": 68.966,
    "s": 44.162,
    "l": 61.373
  },
  "oklch": {
    "l": 0.80344,
    "c": 0.11247,
    "h": 116
  },
  "luminance": 0.53066
}

Semantic roles & 50–950 ramp

primary
#BBC871
secondary
#574C91
accent
#2EB743
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14140E
muted
#83837F

Preview Lab

Preview with #BBC871

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

Preview Lab → · Contrast checker → · Palette generator →

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