#B2A732#B2A732

#B2A732 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.7% C 0.134 H 103.9°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#B2A732
RGBrgb(178, 167, 50)
HSLhsl(55, 56%, 45%)
HSVhsv(55, 72%, 70%)
CMYKcmyk(0%, 6.2%, 71.9%, 30.2%)
CIE-LABlab(67.53, -9.48, 58.54)
CIE-LCHlch(67.53, 59.30, 99.20°)
OKLaboklab(71.68% -0.032 0.1298)
OKLCHoklch(71.68% 0.134 103.9)
XYZxyz(32.7559, 37.3340, 8.4978)
Luminance0.3733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A732 #323DB2
analogous
#B26732 #B2A732 #7DB232
triadic
#B2A732 #32B2A7 #A732B2
tetradic
#B2A732 #32B267 #323DB2 #B2327D
square
#B2A732 #32B267 #323DB2 #B2327D
split-complementary
#B2A732 #327DB2 #6732B2
monochromatic
#524D17 #827A25 #B2A732 #CFC453 #DCD482

Accessibility & contrast

On white

2.48
#B2A732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#B2A732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A732
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A732#FFFFFF#000000##000000
##B2A7321.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11E
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#BF9B90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a732;
/* rgb */ color: rgb(178, 167, 50);
/* oklch */ color: oklch(71.7% 0.134 103.9);
Tailwind
colors: {
  custom: {
    50: '#cdc072',
    500: '#b2a732',
    950: '#000000',
  },
}
SCSS
$custom: #b2a732;
$custom-light: #cdc072;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a732",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 50
  },
  "hsl": {
    "h": 54.844,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71681,
    "c": 0.13367,
    "h": 103.9
  },
  "luminance": 0.37333
}

Semantic roles & 50–950 ramp

primary
#B2A732
secondary
#7B81C5
accent
#55DF48
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A732

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

Preview Lab → · Contrast checker → · Palette generator →

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