#B2AA32#B2AA32

#B2AA32 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.3% C 0.136 H 105.5°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#B2AA32
RGBrgb(178, 170, 50)
HSLhsl(56, 56%, 45%)
HSVhsv(56, 72%, 70%)
CMYKcmyk(0%, 4.5%, 71.9%, 30.2%)
CIE-LABlab(68.35, -11.04, 59.34)
CIE-LCHlch(68.35, 60.36, 100.54°)
OKLaboklab(72.34% -0.0365 0.1315)
OKLCHoklch(72.34% 0.136 105.5)
XYZxyz(33.3119, 38.4460, 8.6831)
Luminance0.3845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AA32 #323AB2
analogous
#B26A32 #B2AA32 #7AB232
triadic
#B2AA32 #32B2AA #AA32B2
tetradic
#B2AA32 #32B26A #323AB2 #B2327A
square
#B2AA32 #32B26A #323AB2 #B2327A
split-complementary
#B2AA32 #327AB2 #6A32B2
monochromatic
#524F17 #827C25 #B2AA32 #CFC753 #DCD682

Accessibility & contrast

On white

2.42
#B2AA32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#B2AA32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AA32
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AA32#FFFFFF#000000##000000
##B2AA321.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41D
Deuteranopia (green-blind)
#BCA93A
Tritanopia (blue-blind)
#BF9E93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2aa32;
/* rgb */ color: rgb(178, 170, 50);
/* oklch */ color: oklch(72.3% 0.136 105.5);
Tailwind
colors: {
  custom: {
    50: '#ccc372',
    500: '#b2aa32',
    950: '#000000',
  },
}
SCSS
$custom: #b2aa32;
$custom-light: #ccc372;
$custom-dark: #000000;
JSON
{
  "hex": "#b2aa32",
  "rgb": {
    "r": 178,
    "g": 170,
    "b": 50
  },
  "hsl": {
    "h": 56.25,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72335,
    "c": 0.13642,
    "h": 105.5
  },
  "luminance": 0.38445
}

Semantic roles & 50–950 ramp

primary
#B2AA32
secondary
#7B7FC5
accent
#52DF48
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AA32

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

Preview Lab → · Contrast checker → · Palette generator →

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