#BBB271#BBB271

#BBB271 is a light, moderate yellow. Relative luminance 0.436; OKLCH L 75.6% C 0.086 H 101.4°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#BBB271
RGBrgb(187, 178, 113)
HSLhsl(53, 35%, 59%)
HSVhsv(53, 40%, 73%)
CMYKcmyk(0%, 4.8%, 39.6%, 26.7%)
CIE-LABlab(71.96, -6.34, 34.37)
CIE-LCHlch(71.96, 34.95, 100.45°)
OKLaboklab(75.61% -0.0169 0.0841)
OKLCHoklch(75.61% 0.086 101.4)
XYZxyz(39.3953, 43.5989, 21.9598)
Luminance0.4360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB271 #717ABB
analogous
#BB8D71 #BBB271 #9FBB71
triadic
#BBB271 #71BBB2 #B271BB
tetradic
#BBB271 #71BB8D #717ABB #BB719F
square
#BBB271 #71BB8D #717ABB #BB719F
split-complementary
#BBB271 #719FBB #8D71BB
monochromatic
#78703A #A1974D #BBB271 #CFC89A #E3DFC4

Accessibility & contrast

On white

2.16
#BBB271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#BBB271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB271
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB271#FFFFFF#000000##000000
##BBB2711.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAE6C
Deuteranopia (green-blind)
#C0B274
Tritanopia (blue-blind)
#C5AAA2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bbb271;
/* rgb */ color: rgb(187, 178, 113);
/* oklch */ color: oklch(75.6% 0.086 101.4);
Tailwind
colors: {
  custom: {
    50: '#d0c89a',
    500: '#bbb271',
    950: '#000000',
  },
}
SCSS
$custom: #bbb271;
$custom-light: #d0c89a;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb271",
  "rgb": {
    "r": 187,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 52.703,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.75607,
    "c": 0.08578,
    "h": 101.4
  },
  "luminance": 0.43598
}

Semantic roles & 50–950 ramp

primary
#BBB271
secondary
#B5B9D2
accent
#6ACB5D
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #BBB271

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

Preview Lab → · Contrast checker → · Palette generator →

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