#B2BB71#B2BB71

#B2BB71 is a light, moderate yellow. Relative luminance 0.462; OKLCH L 76.8% C 0.098 H 114.4°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#B2BB71
RGBrgb(178, 187, 113)
HSLhsl(67, 35%, 59%)
HSVhsv(67, 40%, 73%)
CMYKcmyk(4.8%, 0%, 39.6%, 26.7%)
CIE-LABlab(73.67, -14.63, 36.41)
CIE-LCHlch(73.67, 39.24, 111.89°)
OKLaboklab(76.79% -0.0403 0.0888)
OKLCHoklch(76.79% 0.098 114.4)
XYZxyz(39.1113, 46.1983, 22.4764)
Luminance0.4620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB71 #7A71BB
analogous
#BB9F71 #B2BB71 #8DBB71
triadic
#B2BB71 #71B2BB #BB71B2
tetradic
#B2BB71 #71BB9F #7A71BB #BB718D
square
#B2BB71 #71BB9F #7A71BB #BB718D
split-complementary
#B2BB71 #718DBB #9F71BB
monochromatic
#70783A #97A14D #B2BB71 #C8CF9A #DFE3C4

Accessibility & contrast

On white

2.05
#B2BB71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#B2BB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BB71
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BB71#FFFFFF#000000##000000
##B2BB711.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B46B
Deuteranopia (green-blind)
#C4B674
Tritanopia (blue-blind)
#BAB3A9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b2bb71;
/* rgb */ color: rgb(178, 187, 113);
/* oklch */ color: oklch(76.8% 0.098 114.4);
Tailwind
colors: {
  custom: {
    50: '#cacf9b',
    500: '#b2bb71',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb71;
$custom-light: #cacf9b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb71",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 113
  },
  "hsl": {
    "h": 67.297,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.76792,
    "c": 0.09754,
    "h": 114.4
  },
  "luminance": 0.46198
}

Semantic roles & 50–950 ramp

primary
#B2BB71
secondary
#B9B5D2
accent
#5DCB6A
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #B2BB71

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

Preview Lab → · Contrast checker → · Palette generator →

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