#B2AB70#B2AB70

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

Color values

HEX#B2AB70
RGBrgb(178, 171, 112)
HSLhsl(54, 30%, 57%)
HSVhsv(54, 37%, 70%)
CMYKcmyk(0%, 3.9%, 37.1%, 30.2%)
CIE-LABlab(69.30, -6.42, 31.31)
CIE-LCHlch(69.30, 31.96, 101.58°)
OKLaboklab(73.31% -0.0168 0.0771)
OKLCHoklch(73.31% 0.079 102.3)
XYZxyz(35.8482, 39.7615, 21.1124)
Luminance0.3976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB70 #7077B2
analogous
#B28A70 #B2AB70 #98B270
triadic
#B2AB70 #70B2AB #AB70B2
tetradic
#B2AB70 #70B28A #7077B2 #B27098
square
#B2AB70 #70B28A #7077B2 #B27098
split-complementary
#B2AB70 #7098B2 #8A70B2
monochromatic
#6D683B #958D50 #B2AB70 #C7C298 #DDDAC0

Accessibility & contrast

On white

2.35
#B2AB70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#B2AB70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AB70
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AB70#FFFFFF#000000##000000
##B2AB701.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2ab70;
/* rgb */ color: rgb(178, 171, 112);
/* oklch */ color: oklch(73.3% 0.079 102.3);
Tailwind
colors: {
  custom: {
    50: '#cac39a',
    500: '#b2ab70',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab70;
$custom-light: #cac39a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab70",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 112
  },
  "hsl": {
    "h": 53.636,
    "s": 30,
    "l": 56.863
  },
  "oklch": {
    "l": 0.7331,
    "c": 0.0789,
    "h": 102.3
  },
  "luminance": 0.39761
}

Semantic roles & 50–950 ramp

primary
#B2AB70
secondary
#B1B4CC
accent
#6CC662
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #B2AB70

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

Preview Lab → · Contrast checker → · Palette generator →

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