#B2A166#B2A166

#B2A166 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 71.0% C 0.081 H 93.9°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#B2A166
RGBrgb(178, 161, 102)
HSLhsl(47, 33%, 55%)
HSVhsv(47, 43%, 70%)
CMYKcmyk(0%, 9.6%, 42.7%, 30.2%)
CIE-LABlab(66.46, -2.21, 32.94)
CIE-LCHlch(66.46, 33.01, 93.83°)
OKLaboklab(71.01% -0.0055 0.0804)
OKLCHoklch(71.01% 0.081 93.9)
XYZxyz(33.5041, 35.9152, 17.7353)
Luminance0.3591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A166 #6677B2
analogous
#B27B66 #B2A166 #9DB266
triadic
#B2A166 #66B2A1 #A166B2
tetradic
#B2A166 #66B27B #6677B2 #B2669D
square
#B2A166 #66B27B #6677B2 #B2669D
split-complementary
#B2A166 #669DB2 #7B66B2
monochromatic
#695D35 #928149 #B2A166 #C6BA8F #DBD3B7

Accessibility & contrast

On white

2.57
#B2A166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#B2A166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A166
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A166#FFFFFF#000000##000000
##B2A1661.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9F62
Deuteranopia (green-blind)
#B1A468
Tritanopia (blue-blind)
#BD9992
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a166;
/* rgb */ color: rgb(178, 161, 102);
/* oklch */ color: oklch(71.0% 0.081 93.9);
Tailwind
colors: {
  custom: {
    50: '#cabc92',
    500: '#b2a166',
    950: '#000000',
  },
}
SCSS
$custom: #b2a166;
$custom-light: #cabc92;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a166",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 102
  },
  "hsl": {
    "h": 46.579,
    "s": 33.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.7101,
    "c": 0.08056,
    "h": 93.9
  },
  "luminance": 0.35914
}

Semantic roles & 50–950 ramp

primary
#B2A166
secondary
#AAB1CA
accent
#76C95F
background
#FCFBF9
surface
#F9F6F1
border
#D2D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #B2A166

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

Preview Lab → · Contrast checker → · Palette generator →

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