#B2BB7A#B2BB7A

#B2BB7A is a light, moderate yellow. Relative luminance 0.464; OKLCH L 76.9% C 0.087 H 114.9°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#B2BB7A
RGBrgb(178, 187, 122)
HSLhsl(68, 32%, 61%)
HSVhsv(68, 35%, 73%)
CMYKcmyk(4.8%, 0%, 34.8%, 26.7%)
CIE-LABlab(73.81, -13.54, 31.93)
CIE-LCHlch(73.81, 34.68, 112.98°)
OKLaboklab(76.95% -0.0366 0.0789)
OKLCHoklch(76.95% 0.087 114.9)
XYZxyz(39.6434, 46.4111, 25.2784)
Luminance0.4641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BB7A #837ABB
analogous
#BBA37A #B2BB7A #91BB7A
triadic
#B2BB7A #7AB2BB #BB7AB2
tetradic
#B2BB7A #7ABBA3 #837ABB #BB7A91
square
#B2BB7A #7ABBA3 #837ABB #BB7A91
split-complementary
#B2BB7A #7A91BB #A37ABB
monochromatic
#737B3F #99A454 #B2BB7A #C9D0A2 #E1E4CB

Accessibility & contrast

On white

2.04
#B2BB7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#B2BB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BB7A
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BB7A#FFFFFF#000000##000000
##B2BB7A1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B575
Deuteranopia (green-blind)
#C3B67D
Tritanopia (blue-blind)
#B9B4AB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b2bb7a;
/* rgb */ color: rgb(178, 187, 122);
/* oklch */ color: oklch(76.9% 0.087 114.9);
Tailwind
colors: {
  custom: {
    50: '#cacfa1',
    500: '#b2bb7a',
    950: '#000000',
  },
}
SCSS
$custom: #b2bb7a;
$custom-light: #cacfa1;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bb7a",
  "rgb": {
    "r": 178,
    "g": 187,
    "b": 122
  },
  "hsl": {
    "h": 68.308,
    "s": 32.338,
    "l": 60.588
  },
  "oklch": {
    "l": 0.76946,
    "c": 0.08698,
    "h": 114.9
  },
  "luminance": 0.46411
}

Semantic roles & 50–950 ramp

primary
#B2BB7A
secondary
#BFBCD5
accent
#3AAB4A
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13130F
muted
#82827E

Preview Lab

Preview with #B2BB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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