#B2AB7D#B2AB7D

#B2AB7D is a light, moderate yellow. Relative luminance 0.401; OKLCH L 73.6% C 0.063 H 100.5°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#B2AB7D
RGBrgb(178, 171, 125)
HSLhsl(52, 26%, 59%)
HSVhsv(52, 30%, 70%)
CMYKcmyk(0%, 3.9%, 29.8%, 30.2%)
CIE-LABlab(69.52, -4.78, 24.65)
CIE-LCHlch(69.52, 25.11, 100.97°)
OKLaboklab(73.56% -0.0114 0.0619)
OKLCHoklch(73.56% 0.063 100.5)
XYZxyz(36.6249, 40.0723, 25.2034)
Luminance0.4007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB7D #7D84B2
analogous
#B2917D #B2AB7D #9FB27D
triadic
#B2AB7D #7DB2AB #AB7DB2
tetradic
#B2AB7D #7DB291 #7D84B2 #B27D9F
square
#B2AB7D #7DB291 #7D84B2 #B27D9F
split-complementary
#B2AB7D #7D9FB2 #917DB2
monochromatic
#716B43 #98905A #B2AB7D #C9C4A3 #E0DDCA

Accessibility & contrast

On white

2.33
#B2AB7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#B2AB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AB7D
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AB7D#FFFFFF#000000##000000
##B2AB7D1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A87A
Deuteranopia (green-blind)
#B6AB7F
Tritanopia (blue-blind)
#BAA59F
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b2ab7d;
/* rgb */ color: rgb(178, 171, 125);
/* oklch */ color: oklch(73.6% 0.063 100.5);
Tailwind
colors: {
  custom: {
    50: '#c9c3a3',
    500: '#b2ab7d',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab7d;
$custom-light: #c9c3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab7d",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 125
  },
  "hsl": {
    "h": 52.075,
    "s": 25.604,
    "l": 59.412
  },
  "oklch": {
    "l": 0.73558,
    "c": 0.0629,
    "h": 100.5
  },
  "luminance": 0.40071
}

Semantic roles & 50–950 ramp

primary
#B2AB7D
secondary
#BBBED0
accent
#72C266
background
#FCFCFA
surface
#F8F8F3
border
#D1D1CD
text
#13120F
muted
#82817F

Preview Lab

Preview with #B2AB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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