#B2AB81#B2AB81

#B2AB81 is a light, muted yellow. Relative luminance 0.402; OKLCH L 73.6% C 0.058 H 99.7°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#B2AB81
RGBrgb(178, 171, 129)
HSLhsl(51, 24%, 60%)
HSVhsv(51, 28%, 70%)
CMYKcmyk(0%, 3.9%, 27.5%, 30.2%)
CIE-LABlab(69.60, -4.24, 22.59)
CIE-LCHlch(69.60, 22.98, 100.63°)
OKLaboklab(73.64% -0.0097 0.057)
OKLCHoklch(73.64% 0.058 99.7)
XYZxyz(36.8856, 40.1765, 26.5764)
Luminance0.4018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB81 #8188B2
analogous
#B29381 #B2AB81 #A0B281
triadic
#B2AB81 #81B2AB #AB81B2
tetradic
#B2AB81 #81B293 #8188B2 #B281A0
square
#B2AB81 #81B293 #8188B2 #B281A0
split-complementary
#B2AB81 #81A0B2 #9381B2
monochromatic
#736C46 #99905D #B2AB81 #C9C4A7 #E0DECD

Accessibility & contrast

On white

2.32
#B2AB81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#B2AB81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AB81
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AB81#FFFFFF#000000##000000
##B2AB811.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A87E
Deuteranopia (green-blind)
#B5AB82
Tritanopia (blue-blind)
#BAA5A0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2ab81;
/* rgb */ color: rgb(178, 171, 129);
/* oklch */ color: oklch(73.6% 0.058 99.7);
Tailwind
colors: {
  custom: {
    50: '#c9c3a6',
    500: '#b2ab81',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab81;
$custom-light: #c9c3a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab81",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 129
  },
  "hsl": {
    "h": 51.429,
    "s": 24.138,
    "l": 60.196
  },
  "oklch": {
    "l": 0.73641,
    "c": 0.05782,
    "h": 99.7
  },
  "luminance": 0.40176
}

Semantic roles & 50–950 ramp

primary
#B2AB81
secondary
#BEC1D1
accent
#51A343
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #B2AB81

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

Preview Lab → · Contrast checker → · Palette generator →

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