#B7B282#B7B282

#B7B282 is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.6% C 0.065 H 102.8°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#B7B282
RGBrgb(183, 178, 130)
HSLhsl(54, 27%, 61%)
HSVhsv(54, 29%, 72%)
CMYKcmyk(0%, 2.7%, 29%, 28.2%)
CIE-LABlab(71.91, -5.85, 25.24)
CIE-LCHlch(71.91, 25.91, 103.05°)
OKLaboklab(75.58% -0.0144 0.0634)
OKLCHoklch(75.58% 0.065 102.8)
XYZxyz(39.4783, 43.5205, 27.4354)
Luminance0.4352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B282 #8287B7
analogous
#B79882 #B7B282 #A2B782
triadic
#B7B282 #82B7B2 #B282B7
tetradic
#B7B282 #82B798 #8287B7 #B782A2
square
#B7B282 #82B798 #8287B7 #B782A2
split-complementary
#B7B282 #82A2B7 #9882B7
monochromatic
#797446 #A0995C #B7B282 #CDCAA9 #E4E2D0

Accessibility & contrast

On white

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

On black

9.70
#B7B282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B282
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B282#FFFFFF#000000##000000
##B7B2821.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7b282;
/* rgb */ color: rgb(183, 178, 130);
/* oklch */ color: oklch(75.6% 0.065 102.8);
Tailwind
colors: {
  custom: {
    50: '#cdc8a6',
    500: '#b7b282',
    950: '#000000',
  },
}
SCSS
$custom: #b7b282;
$custom-light: #cdc8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b282",
  "rgb": {
    "r": 183,
    "g": 178,
    "b": 130
  },
  "hsl": {
    "h": 54.34,
    "s": 26.904,
    "l": 61.373
  },
  "oklch": {
    "l": 0.75576,
    "c": 0.06497,
    "h": 102.8
  },
  "luminance": 0.4352
}

Semantic roles & 50–950 ramp

primary
#B7B282
secondary
#C0C2D4
accent
#4AA540
background
#FCFCFA
surface
#F9F8F4
border
#D2D1CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #B7B282

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

Preview Lab → · Contrast checker → · Palette generator →

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