#B2AB76#B2AB76

#B2AB76 is a light, moderate yellow. Relative luminance 0.399; OKLCH L 73.4% C 0.072 H 101.6°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#B2AB76
RGBrgb(178, 171, 118)
HSLhsl(53, 28%, 58%)
HSVhsv(53, 34%, 70%)
CMYKcmyk(0%, 3.9%, 33.7%, 30.2%)
CIE-LABlab(69.40, -5.68, 28.25)
CIE-LCHlch(69.40, 28.81, 101.38°)
OKLaboklab(73.42% -0.0144 0.0702)
OKLCHoklch(73.42% 0.072 101.6)
XYZxyz(36.1934, 39.8996, 22.9308)
Luminance0.3990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB76 #767DB2
analogous
#B28D76 #B2AB76 #9BB276
triadic
#B2AB76 #76B2AB #AB76B2
tetradic
#B2AB76 #76B28D #767DB2 #B2769B
square
#B2AB76 #76B28D #767DB2 #B2769B
split-complementary
#B2AB76 #769BB2 #8D76B2
monochromatic
#6F693E #968F54 #B2AB76 #C8C39D #DEDBC4

Accessibility & contrast

On white

2.34
#B2AB76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#B2AB76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AB76
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AB76#FFFFFF#000000##000000
##B2AB761.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A872
Deuteranopia (green-blind)
#B7AB78
Tritanopia (blue-blind)
#BBA49D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ab76;
/* rgb */ color: rgb(178, 171, 118);
/* oklch */ color: oklch(73.4% 0.072 101.6);
Tailwind
colors: {
  custom: {
    50: '#cac39e',
    500: '#b2ab76',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab76;
$custom-light: #cac39e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab76",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 118
  },
  "hsl": {
    "h": 53,
    "s": 28.037,
    "l": 58.039
  },
  "oklch": {
    "l": 0.73421,
    "c": 0.07163,
    "h": 101.6
  },
  "luminance": 0.39899
}

Semantic roles & 50–950 ramp

primary
#B2AB76
secondary
#B6B9CE
accent
#6FC463
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #B2AB76

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

Preview Lab → · Contrast checker → · Palette generator →

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