#B2A161#B2A161

#B2A161 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.9% C 0.086 H 95.0°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#B2A161
RGBrgb(178, 161, 97)
HSLhsl(47, 34%, 54%)
HSVhsv(47, 46%, 70%)
CMYKcmyk(0%, 9.6%, 45.5%, 30.2%)
CIE-LABlab(66.38, -2.74, 35.48)
CIE-LCHlch(66.38, 35.58, 94.41°)
OKLaboklab(70.93% -0.0075 0.0858)
OKLCHoklch(70.93% 0.086 95)
XYZxyz(33.2635, 35.8190, 16.4685)
Luminance0.3582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A161 #6172B2
analogous
#B27961 #B2A161 #9BB261
triadic
#B2A161 #61B2A1 #A161B2
tetradic
#B2A161 #61B279 #6172B2 #B2619B
square
#B2A161 #61B279 #6172B2 #B2619B
split-complementary
#B2A161 #619BB2 #7961B2
monochromatic
#675C32 #908046 #B2A161 #C6B98A #DAD2B3

Accessibility & contrast

On white

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

On black

8.16
#B2A161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A161
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A161#FFFFFF#000000##000000
##B2A1611.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9E5C
Deuteranopia (green-blind)
#B2A463
Tritanopia (blue-blind)
#BD9891
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a161;
/* rgb */ color: rgb(178, 161, 97);
/* oklch */ color: oklch(70.9% 0.086 95.0);
Tailwind
colors: {
  custom: {
    50: '#cabc8f',
    500: '#b2a161',
    950: '#000000',
  },
}
SCSS
$custom: #b2a161;
$custom-light: #cabc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a161",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 97
  },
  "hsl": {
    "h": 47.407,
    "s": 34.468,
    "l": 53.922
  },
  "oklch": {
    "l": 0.70927,
    "c": 0.08615,
    "h": 95
  },
  "luminance": 0.35818
}

Semantic roles & 50–950 ramp

primary
#B2A161
secondary
#A6ADC9
accent
#74CB5D
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A161

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

Preview Lab → · Contrast checker → · Palette generator →

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