#B2A132#B2A132

#B2A132 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.4% C 0.128 H 100.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#B2A132
RGBrgb(178, 161, 50)
HSLhsl(52, 56%, 45%)
HSVhsv(52, 72%, 70%)
CMYKcmyk(0%, 9.6%, 71.9%, 30.2%)
CIE-LABlab(65.89, -6.31, 56.94)
CIE-LCHlch(65.89, 57.29, 96.32°)
OKLaboklab(70.38% -0.0231 0.1264)
OKLCHoklch(70.38% 0.128 100.3)
XYZxyz(31.6821, 35.1865, 8.1398)
Luminance0.3518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A132 #3243B2
analogous
#B26132 #B2A132 #83B232
triadic
#B2A132 #32B2A1 #A132B2
tetradic
#B2A132 #32B261 #3243B2 #B23283
square
#B2A132 #32B261 #3243B2 #B23283
split-complementary
#B2A132 #3283B2 #6132B2
monochromatic
#524B17 #827625 #B2A132 #CFBE53 #DCD082

Accessibility & contrast

On white

2.61
#B2A132 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#B2A132 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A132
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A132#FFFFFF#000000##000000
##B2A1321.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C20
Deuteranopia (green-blind)
#B5A339
Tritanopia (blue-blind)
#C0958B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a132;
/* rgb */ color: rgb(178, 161, 50);
/* oklch */ color: oklch(70.4% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#cdbc71',
    500: '#b2a132',
    950: '#000000',
  },
}
SCSS
$custom: #b2a132;
$custom-light: #cdbc71;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a132",
  "rgb": {
    "r": 178,
    "g": 161,
    "b": 50
  },
  "hsl": {
    "h": 52.031,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70384,
    "c": 0.12848,
    "h": 100.3
  },
  "luminance": 0.35185
}

Semantic roles & 50–950 ramp

primary
#B2A132
secondary
#7B84C5
accent
#5CDF48
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B2A132

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

Preview Lab → · Contrast checker → · Palette generator →

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