#B2B671#B2B671

#B2B671 is a light, moderate yellow. Relative luminance 0.441; OKLCH L 75.7% C 0.091 H 111.2°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#B2B671
RGBrgb(178, 182, 113)
HSLhsl(63, 32%, 58%)
HSVhsv(63, 38%, 71%)
CMYKcmyk(2.2%, 0%, 37.9%, 28.6%)
CIE-LABlab(72.30, -12.06, 34.66)
CIE-LCHlch(72.30, 36.70, 109.18°)
OKLaboklab(75.7% -0.0329 0.0848)
OKLCHoklch(75.7% 0.091 111.2)
XYZxyz(38.0690, 44.1137, 22.1289)
Luminance0.4411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B671 #7571B6
analogous
#B69771 #B2B671 #8FB671
triadic
#B2B671 #71B2B6 #B671B2
tetradic
#B2B671 #71B697 #7571B6 #B6718F
square
#B2B671 #71B697 #7571B6 #B6718F
split-complementary
#B2B671 #718FB6 #9771B6
monochromatic
#6F723B #969A4F #B2B671 #C8CB99 #DEE0C2

Accessibility & contrast

On white

2.14
#B2B671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#B2B671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B671
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B671#FFFFFF#000000##000000
##B2B6711.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B06C
Deuteranopia (green-blind)
#C0B274
Tritanopia (blue-blind)
#BAAEA5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b671;
/* rgb */ color: rgb(178, 182, 113);
/* oklch */ color: oklch(75.7% 0.091 111.2);
Tailwind
colors: {
  custom: {
    50: '#cacb9b',
    500: '#b2b671',
    950: '#000000',
  },
}
SCSS
$custom: #b2b671;
$custom-light: #cacb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b671",
  "rgb": {
    "r": 178,
    "g": 182,
    "b": 113
  },
  "hsl": {
    "h": 63.478,
    "s": 32.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.75701,
    "c": 0.09101,
    "h": 111.2
  },
  "luminance": 0.44113
}

Semantic roles & 50–950 ramp

primary
#B2B671
secondary
#B5B4CF
accent
#60C866
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #B2B671

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

Preview Lab → · Contrast checker → · Palette generator →

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