#B2AA71#B2AA71

#B2AA71 is a light, moderate yellow. Relative luminance 0.394; OKLCH L 73.1% C 0.077 H 101.2°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#B2AA71
RGBrgb(178, 170, 113)
HSLhsl(53, 30%, 57%)
HSVhsv(53, 37%, 70%)
CMYKcmyk(0%, 4.5%, 36.5%, 30.2%)
CIE-LABlab(69.05, -5.77, 30.45)
CIE-LCHlch(69.05, 30.99, 100.72°)
OKLaboklab(73.11% -0.0149 0.0751)
OKLCHoklch(73.11% 0.077 101.2)
XYZxyz(35.7160, 39.4076, 21.3446)
Luminance0.3941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA71 #7179B2
analogous
#B28A71 #B2AA71 #9AB271
triadic
#B2AA71 #71B2AA #AA71B2
tetradic
#B2AA71 #71B28A #7179B2 #B2719A
square
#B2AA71 #71B28A #7179B2 #B2719A
split-complementary
#B2AA71 #719AB2 #8A71B2
monochromatic
#6D673B #958D51 #B2AA71 #C8C299 #DDDAC0

Accessibility & contrast

On white

2.36
#B2AA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#B2AA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA71
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA71#FFFFFF#000000##000000
##B2AA711.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A66D
Deuteranopia (green-blind)
#B7AA73
Tritanopia (blue-blind)
#BBA29C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2aa71;
/* rgb */ color: rgb(178, 170, 113);
/* oklch */ color: oklch(73.1% 0.077 101.2);
Tailwind
colors: {
  custom: {
    50: '#cac39a',
    500: '#b2aa71',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa71;
$custom-light: #cac39a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa71",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 113
  },
  "hsl": {
    "h": 52.615,
    "s": 29.68,
    "l": 57.059
  },
  "oklch": {
    "l": 0.73114,
    "c": 0.0766,
    "h": 101.2
  },
  "luminance": 0.39407
}

Semantic roles & 50–950 ramp

primary
#B2AA71
secondary
#B2B5CD
accent
#6EC662
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #B2AA71

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

Preview Lab → · Contrast checker → · Palette generator →

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