#B8B282#B8B282

#B8B282 is a light, moderate yellow. Relative luminance 0.436; OKLCH L 75.7% C 0.065 H 101.8°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#B8B282
RGBrgb(184, 178, 130)
HSLhsl(53, 28%, 62%)
HSVhsv(53, 29%, 72%)
CMYKcmyk(0%, 3.3%, 29.3%, 27.8%)
CIE-LABlab(71.99, -5.46, 25.37)
CIE-LCHlch(71.99, 25.95, 102.14°)
OKLaboklab(75.66% -0.0133 0.0637)
OKLCHoklch(75.66% 0.065 101.8)
XYZxyz(39.7171, 43.6437, 27.4466)
Luminance0.4364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B282 #8288B8
analogous
#B89782 #B8B282 #A3B882
triadic
#B8B282 #82B8B2 #B282B8
tetradic
#B8B282 #82B897 #8288B8 #B882A3
square
#B8B282 #82B897 #8288B8 #B882A3
split-complementary
#B8B282 #82A3B8 #9782B8
monochromatic
#7A7445 #A1995C #B8B282 #CECAA9 #E4E2D0

Accessibility & contrast

On white

2.16
#B8B282 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#B8B282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B282
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B282#FFFFFF#000000##000000
##B8B2821.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAF7F
Deuteranopia (green-blind)
#BDB284
Tritanopia (blue-blind)
#C0ABA5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8b282;
/* rgb */ color: rgb(184, 178, 130);
/* oklch */ color: oklch(75.7% 0.065 101.8);
Tailwind
colors: {
  custom: {
    50: '#cec8a6',
    500: '#b8b282',
    950: '#000000',
  },
}
SCSS
$custom: #b8b282;
$custom-light: #cec8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b282",
  "rgb": {
    "r": 184,
    "g": 178,
    "b": 130
  },
  "hsl": {
    "h": 53.333,
    "s": 27.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.75662,
    "c": 0.06502,
    "h": 101.8
  },
  "luminance": 0.43643
}

Semantic roles & 50–950 ramp

primary
#B8B282
secondary
#C1C3D5
accent
#4BA63F
background
#FCFCFA
surface
#F9F8F4
border
#D2D1CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #B8B282

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

Preview Lab → · Contrast checker → · Palette generator →

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