#B2AB71#B2AB71

#B2AB71 is a light, moderate yellow. Relative luminance 0.398; OKLCH L 73.3% C 0.078 H 102.2°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#B2AB71
RGBrgb(178, 171, 113)
HSLhsl(54, 30%, 57%)
HSVhsv(54, 37%, 70%)
CMYKcmyk(0%, 3.9%, 36.5%, 30.2%)
CIE-LABlab(69.32, -6.30, 30.80)
CIE-LCHlch(69.32, 31.44, 101.55°)
OKLaboklab(73.33% -0.0164 0.076)
OKLCHoklch(73.33% 0.078 102.2)
XYZxyz(35.9041, 39.7839, 21.4073)
Luminance0.3978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB71 #7178B2
analogous
#B28B71 #B2AB71 #99B271
triadic
#B2AB71 #71B2AB #AB71B2
tetradic
#B2AB71 #71B28B #7178B2 #B27199
square
#B2AB71 #71B28B #7178B2 #B27199
split-complementary
#B2AB71 #7199B2 #8B71B2
monochromatic
#6D683B #958E51 #B2AB71 #C8C299 #DDDAC0

Accessibility & contrast

On white

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

On black

8.96
#B2AB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AB71
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AB71#FFFFFF#000000##000000
##B2AB711.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A76D
Deuteranopia (green-blind)
#B7AB73
Tritanopia (blue-blind)
#BBA39C
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ab71;
/* rgb */ color: rgb(178, 171, 113);
/* oklch */ color: oklch(73.3% 0.078 102.2);
Tailwind
colors: {
  custom: {
    50: '#cac39a',
    500: '#b2ab71',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab71;
$custom-light: #cac39a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab71",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 113
  },
  "hsl": {
    "h": 53.538,
    "s": 29.68,
    "l": 57.059
  },
  "oklch": {
    "l": 0.73328,
    "c": 0.07771,
    "h": 102.2
  },
  "luminance": 0.39783
}

Semantic roles & 50–950 ramp

primary
#B2AB71
secondary
#B2B5CD
accent
#6DC662
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #B2AB71

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

Preview Lab → · Contrast checker → · Palette generator →

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