#B2B181#B2B181

#B2B181 is a light, moderate yellow. Relative luminance 0.425; OKLCH L 74.9% C 0.065 H 106.9°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#B2B181
RGBrgb(178, 177, 129)
HSLhsl(59, 24%, 60%)
HSVhsv(59, 28%, 70%)
CMYKcmyk(0%, 0.6%, 27.5%, 30.2%)
CIE-LABlab(71.21, -7.42, 24.77)
CIE-LCHlch(71.21, 25.86, 106.68°)
OKLaboklab(74.92% -0.0189 0.0622)
OKLCHoklch(74.92% 0.065 106.9)
XYZxyz(38.0448, 42.4948, 26.9628)
Luminance0.4249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B181 #8182B2
analogous
#B29981 #B2B181 #9AB281
triadic
#B2B181 #81B2B1 #B181B2
tetradic
#B2B181 #81B299 #8182B2 #B2819A
square
#B2B181 #81B299 #8182B2 #B2819A
split-complementary
#B2B181 #819AB2 #9981B2
monochromatic
#737246 #99975D #B2B181 #C9C9A7 #E0E0CD

Accessibility & contrast

On white

2.21
#B2B181 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#B2B181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B181
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B181#FFFFFF#000000##000000
##B2B1811.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AD7E
Deuteranopia (green-blind)
#BAAF83
Tritanopia (blue-blind)
#B9ABA4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b2b181;
/* rgb */ color: rgb(178, 177, 129);
/* oklch */ color: oklch(74.9% 0.065 106.9);
Tailwind
colors: {
  custom: {
    50: '#c9c8a6',
    500: '#b2b181',
    950: '#000000',
  },
}
SCSS
$custom: #b2b181;
$custom-light: #c9c8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b181",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 129
  },
  "hsl": {
    "h": 58.776,
    "s": 24.138,
    "l": 60.196
  },
  "oklch": {
    "l": 0.7492,
    "c": 0.06502,
    "h": 106.9
  },
  "luminance": 0.42494
}

Semantic roles & 50–950 ramp

primary
#B2B181
secondary
#BEBED1
accent
#45A343
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #B2B181

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

Preview Lab → · Contrast checker → · Palette generator →

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