#B2A332#B2A332

#B2A332 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.8% C 0.130 H 101.6°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#B2A332
RGBrgb(178, 163, 50)
HSLhsl(53, 56%, 45%)
HSVhsv(53, 72%, 70%)
CMYKcmyk(0%, 8.4%, 71.9%, 30.2%)
CIE-LABlab(66.44, -7.37, 57.48)
CIE-LCHlch(66.44, 57.95, 97.31°)
OKLaboklab(70.82% -0.0261 0.1275)
OKLCHoklch(70.82% 0.13 101.6)
XYZxyz(32.0344, 35.8911, 8.2573)
Luminance0.3589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A332 #3241B2
analogous
#B26332 #B2A332 #81B232
triadic
#B2A332 #32B2A3 #A332B2
tetradic
#B2A332 #32B263 #3241B2 #B23281
square
#B2A332 #32B263 #3241B2 #B23281
split-complementary
#B2A332 #3281B2 #6332B2
monochromatic
#524B17 #827725 #B2A332 #CFC053 #DCD282

Accessibility & contrast

On white

2.57
#B2A332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#B2A332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A332
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A332#FFFFFF#000000##000000
##B2A3321.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E20
Deuteranopia (green-blind)
#B7A439
Tritanopia (blue-blind)
#C0978D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a332;
/* rgb */ color: rgb(178, 163, 50);
/* oklch */ color: oklch(70.8% 0.130 101.6);
Tailwind
colors: {
  custom: {
    50: '#cdbd71',
    500: '#b2a332',
    950: '#000000',
  },
}
SCSS
$custom: #b2a332;
$custom-light: #cdbd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a332",
  "rgb": {
    "r": 178,
    "g": 163,
    "b": 50
  },
  "hsl": {
    "h": 52.969,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70815,
    "c": 0.13016,
    "h": 101.6
  },
  "luminance": 0.3589
}

Semantic roles & 50–950 ramp

primary
#B2A332
secondary
#7B83C5
accent
#5ADF48
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A332

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

Preview Lab → · Contrast checker → · Palette generator →

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