#BBBB7F#BBBB7F

#BBBB7F is a light, moderate yellow. Relative luminance 0.476; OKLCH L 77.8% C 0.080 H 108.1°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#BBBB7F
RGBrgb(187, 187, 127)
HSLhsl(60, 31%, 62%)
HSVhsv(60, 32%, 73%)
CMYKcmyk(0%, 0%, 32.1%, 26.7%)
CIE-LABlab(74.60, -9.38, 30.47)
CIE-LCHlch(74.60, 31.88, 107.11°)
OKLaboklab(77.77% -0.0247 0.0756)
OKLCHoklch(77.77% 0.08 108.1)
XYZxyz(42.0949, 47.6385, 27.0522)
Luminance0.4764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBBB7F #7F7FBB
analogous
#BB9D7F #BBBB7F #9DBB7F
triadic
#BBBB7F #7FBBBB #BB7FBB
tetradic
#BBBB7F #7FBB9D #7F7FBB #BB7F9D
square
#BBBB7F #7FBB9D #7F7FBB #BB7F9D
split-complementary
#BBBB7F #7F9DBB #9D7FBB
monochromatic
#7D7D42 #A5A558 #BBBB7F #D0D0A7 #E5E5CF

Accessibility & contrast

On white

1.99
#BBBB7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#BBBB7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBBB7F
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBBB7F#FFFFFF#000000##000000
##BBBB7F1.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B67B
Deuteranopia (green-blind)
#C6B981
Tritanopia (blue-blind)
#C3B4AC
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bbbb7f;
/* rgb */ color: rgb(187, 187, 127);
/* oklch */ color: oklch(77.8% 0.080 108.1);
Tailwind
colors: {
  custom: {
    50: '#d0cfa4',
    500: '#bbbb7f',
    950: '#000000',
  },
}
SCSS
$custom: #bbbb7f;
$custom-light: #d0cfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#bbbb7f",
  "rgb": {
    "r": 187,
    "g": 187,
    "b": 127
  },
  "hsl": {
    "h": 60,
    "s": 30.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.7777,
    "c": 0.07955,
    "h": 108.1
  },
  "luminance": 0.47638
}

Semantic roles & 50–950 ramp

primary
#BBBB7F
secondary
#C0C0D6
accent
#3CA93C
background
#FCFCFA
surface
#F9F9F4
border
#D2D2CE
text
#14130F
muted
#82827F

Preview Lab

Preview with #BBBB7F

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

Preview Lab → · Contrast checker → · Palette generator →

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