#B2AA52#B2AA52

#B2AA52 is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.111 H 104.1°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B2AA52
RGBrgb(178, 170, 82)
HSLhsl(55, 38%, 51%)
HSVhsv(55, 54%, 70%)
CMYKcmyk(0%, 4.5%, 53.9%, 30.2%)
CIE-LABlab(68.62, -8.92, 45.76)
CIE-LCHlch(68.62, 46.62, 101.04°)
OKLaboklab(72.64% -0.0269 0.1073)
OKLCHoklch(72.64% 0.111 104.1)
XYZxyz(34.2588, 38.8247, 13.6703)
Luminance0.3882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA52 #525AB2
analogous
#B27A52 #B2AA52 #8AB252
triadic
#B2AA52 #52B2AA #AA52B2
tetradic
#B2AA52 #52B27A #525AB2 #B2528A
square
#B2AA52 #52B27A #525AB2 #B2528A
split-complementary
#B2AA52 #528AB2 #7A52B2
monochromatic
#5F5B2A #8A833D #B2AA52 #C5BF7C #D8D4A7

Accessibility & contrast

On white

2.40
#B2AA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#B2AA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA52
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA52#FFFFFF#000000##000000
##B2AA521.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A54A
Deuteranopia (green-blind)
#BAA956
Tritanopia (blue-blind)
#BEA096
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2aa52;
/* rgb */ color: rgb(178, 170, 82);
/* oklch */ color: oklch(72.6% 0.111 104.1);
Tailwind
colors: {
  custom: {
    50: '#cbc385',
    500: '#b2aa52',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa52;
$custom-light: #cbc385;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa52",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 82
  },
  "hsl": {
    "h": 55,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72643,
    "c": 0.11058,
    "h": 104.1
  },
  "luminance": 0.38824
}

Semantic roles & 50–950 ramp

primary
#B2AA52
secondary
#9B9EC5
accent
#63CE59
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2AA52

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

Preview Lab → · Contrast checker → · Palette generator →

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