#B2B282#B2B282

#B2B282 is a light, moderate yellow. Relative luminance 0.429; OKLCH L 75.2% C 0.065 H 107.9°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#B2B282
RGBrgb(178, 178, 130)
HSLhsl(60, 24%, 60%)
HSVhsv(60, 27%, 70%)
CMYKcmyk(0%, 0%, 27%, 30.2%)
CIE-LABlab(71.50, -7.81, 24.62)
CIE-LCHlch(71.50, 25.83, 107.60°)
OKLaboklab(75.15% -0.0199 0.0619)
OKLCHoklch(75.15% 0.065 107.9)
XYZxyz(38.3098, 42.9180, 27.3806)
Luminance0.4292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B282 #8282B2
analogous
#B29A82 #B2B282 #9AB282
triadic
#B2B282 #82B2B2 #B282B2
tetradic
#B2B282 #82B29A #8282B2 #B2829A
square
#B2B282 #82B29A #8282B2 #B2829A
split-complementary
#B2B282 #829AB2 #9A82B2
monochromatic
#737347 #99995E #B2B282 #C9C9A8 #E1E1CE

Accessibility & contrast

On white

2.19
#B2B282 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#B2B282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B282
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B282#FFFFFF#000000##000000
##B2B2821.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAE7F
Deuteranopia (green-blind)
#BBB084
Tritanopia (blue-blind)
#B9ACA5
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b282;
/* rgb */ color: rgb(178, 178, 130);
/* oklch */ color: oklch(75.2% 0.065 107.9);
Tailwind
colors: {
  custom: {
    50: '#c9c9a6',
    500: '#b2b282',
    950: '#000000',
  },
}
SCSS
$custom: #b2b282;
$custom-light: #c9c9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b282",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 130
  },
  "hsl": {
    "h": 60,
    "s": 23.762,
    "l": 60.392
  },
  "oklch": {
    "l": 0.75154,
    "c": 0.06503,
    "h": 107.9
  },
  "luminance": 0.42917
}

Semantic roles & 50–950 ramp

primary
#B2B282
secondary
#BFBFD1
accent
#43A243
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #B2B282

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

Preview Lab → · Contrast checker → · Palette generator →

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