#B2A532#B2A532

#B2A532 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.2% C 0.132 H 102.7°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#B2A532
RGBrgb(178, 165, 50)
HSLhsl(54, 56%, 45%)
HSVhsv(54, 72%, 70%)
CMYKcmyk(0%, 7.3%, 71.9%, 30.2%)
CIE-LABlab(66.98, -8.43, 58.01)
CIE-LCHlch(66.98, 58.62, 98.26°)
OKLaboklab(71.25% -0.0291 0.1286)
OKLCHoklch(71.25% 0.132 102.7)
XYZxyz(32.3924, 36.6069, 8.3766)
Luminance0.3661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A532 #323FB2
analogous
#B26532 #B2A532 #7FB232
triadic
#B2A532 #32B2A5 #A532B2
tetradic
#B2A532 #32B265 #323FB2 #B2327F
square
#B2A532 #32B265 #323FB2 #B2327F
split-complementary
#B2A532 #327FB2 #6532B2
monochromatic
#524C17 #827925 #B2A532 #CFC253 #DCD382

Accessibility & contrast

On white

2.52
#B2A532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#B2A532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A532
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A532#FFFFFF#000000##000000
##B2A5321.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01F
Deuteranopia (green-blind)
#B8A63A
Tritanopia (blue-blind)
#C0998E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a532;
/* rgb */ color: rgb(178, 165, 50);
/* oklch */ color: oklch(71.2% 0.132 102.7);
Tailwind
colors: {
  custom: {
    50: '#cdbf72',
    500: '#b2a532',
    950: '#000000',
  },
}
SCSS
$custom: #b2a532;
$custom-light: #cdbf72;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a532",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 50
  },
  "hsl": {
    "h": 53.906,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71247,
    "c": 0.13189,
    "h": 102.7
  },
  "luminance": 0.36606
}

Semantic roles & 50–950 ramp

primary
#B2A532
secondary
#7B82C5
accent
#58DF48
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A532

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

Preview Lab → · Contrast checker → · Palette generator →

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