#B2B280#B2B280

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

Color values

HEX#B2B280
RGBrgb(178, 178, 128)
HSLhsl(60, 25%, 60%)
HSVhsv(60, 28%, 70%)
CMYKcmyk(0%, 0%, 28.1%, 30.2%)
CIE-LABlab(71.46, -8.08, 25.65)
CIE-LCHlch(71.46, 26.89, 107.49°)
OKLaboklab(75.11% -0.0208 0.0643)
OKLCHoklch(75.11% 0.068 107.9)
XYZxyz(38.1769, 42.8649, 26.6805)
Luminance0.4286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B280 #8080B2
analogous
#B29980 #B2B280 #99B280
triadic
#B2B280 #80B2B2 #B280B2
tetradic
#B2B280 #80B299 #8080B2 #B28099
square
#B2B280 #80B299 #8080B2 #B28099
split-complementary
#B2B280 #8099B2 #9980B2
monochromatic
#727245 #98985C #B2B280 #C9C9A6 #E0E0CC

Accessibility & contrast

On white

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

On black

9.57
#B2B280 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B280
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B280#FFFFFF#000000##000000
##B2B2801.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2b280;
/* rgb */ color: rgb(178, 178, 128);
/* oklch */ color: oklch(75.1% 0.068 107.9);
Tailwind
colors: {
  custom: {
    50: '#c9c9a5',
    500: '#b2b280',
    950: '#000000',
  },
}
SCSS
$custom: #b2b280;
$custom-light: #c9c9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b280",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 128
  },
  "hsl": {
    "h": 60,
    "s": 24.51,
    "l": 60
  },
  "oklch": {
    "l": 0.75114,
    "c": 0.06757,
    "h": 107.9
  },
  "luminance": 0.42864
}

Semantic roles & 50–950 ramp

primary
#B2B280
secondary
#BDBDD1
accent
#67C167
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #B2B280

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

Preview Lab → · Contrast checker → · Palette generator →

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