#B2A371#B2A371

#B2A371 is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.6% C 0.070 H 93.4°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#B2A371
RGBrgb(178, 163, 113)
HSLhsl(46, 30%, 57%)
HSVhsv(46, 37%, 70%)
CMYKcmyk(0%, 8.4%, 36.5%, 30.2%)
CIE-LABlab(67.17, -2.02, 27.99)
CIE-LCHlch(67.17, 28.06, 94.13°)
OKLaboklab(71.63% -0.0041 0.0694)
OKLCHoklch(71.63% 0.07 93.4)
XYZxyz(34.4385, 36.8527, 20.9188)
Luminance0.3685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A371 #7180B2
analogous
#B28371 #B2A371 #A1B271
triadic
#B2A371 #71B2A3 #A371B2
tetradic
#B2A371 #71B283 #7180B2 #B271A1
square
#B2A371 #71B283 #7180B2 #B271A1
split-complementary
#B2A371 #71A1B2 #8371B2
monochromatic
#6D623B #958551 #B2A371 #C8BD99 #DDD6C0

Accessibility & contrast

On white

2.51
#B2A371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#B2A371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A371
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A371#FFFFFF#000000##000000
##B2A3711.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA16D
Deuteranopia (green-blind)
#B1A673
Tritanopia (blue-blind)
#BC9C96
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a371;
/* rgb */ color: rgb(178, 163, 113);
/* oklch */ color: oklch(71.6% 0.070 93.4);
Tailwind
colors: {
  custom: {
    50: '#cabe9a',
    500: '#b2a371',
    950: '#000000',
  },
}
SCSS
$custom: #b2a371;
$custom-light: #cabe9a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a371",
  "rgb": {
    "r": 178,
    "g": 163,
    "b": 113
  },
  "hsl": {
    "h": 46.154,
    "s": 29.68,
    "l": 57.059
  },
  "oklch": {
    "l": 0.71629,
    "c": 0.06952,
    "h": 93.4
  },
  "luminance": 0.36852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2A371

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

Preview Lab → · Contrast checker → · Palette generator →

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