#B2A471#B2A471

#B2A471 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.8% C 0.070 H 94.6°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B2A471
RGBrgb(178, 164, 113)
HSLhsl(47, 30%, 57%)
HSVhsv(47, 37%, 70%)
CMYKcmyk(0%, 7.9%, 36.5%, 30.2%)
CIE-LABlab(67.43, -2.56, 28.34)
CIE-LCHlch(67.43, 28.45, 95.16°)
OKLaboklab(71.84% -0.0056 0.0702)
OKLCHoklch(71.84% 0.07 94.6)
XYZxyz(34.6168, 37.2092, 20.9782)
Luminance0.3721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A471 #717FB2
analogous
#B28471 #B2A471 #A0B271
triadic
#B2A471 #71B2A4 #A471B2
tetradic
#B2A471 #71B284 #717FB2 #B271A0
square
#B2A471 #71B284 #717FB2 #B271A0
split-complementary
#B2A471 #71A0B2 #8471B2
monochromatic
#6D633B #958651 #B2A471 #C8BD99 #DDD7C0

Accessibility & contrast

On white

2.49
#B2A471 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#B2A471 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A471
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A471#FFFFFF#000000##000000
##B2A4711.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA26D
Deuteranopia (green-blind)
#B2A673
Tritanopia (blue-blind)
#BC9D97
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a471;
/* rgb */ color: rgb(178, 164, 113);
/* oklch */ color: oklch(71.8% 0.070 94.6);
Tailwind
colors: {
  custom: {
    50: '#cabe9a',
    500: '#b2a471',
    950: '#000000',
  },
}
SCSS
$custom: #b2a471;
$custom-light: #cabe9a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a471",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 113
  },
  "hsl": {
    "h": 47.077,
    "s": 29.68,
    "l": 57.059
  },
  "oklch": {
    "l": 0.7184,
    "c": 0.07045,
    "h": 94.6
  },
  "luminance": 0.37208
}

Semantic roles & 50–950 ramp

primary
#B2A471
secondary
#B2B8CD
accent
#77C662
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #B2A471

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

Preview Lab → · Contrast checker → · Palette generator →

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