#B2A032#B2A032

#B2A032 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 70.2% C 0.128 H 99.7°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#B2A032
RGBrgb(178, 160, 50)
HSLhsl(52, 56%, 45%)
HSVhsv(52, 72%, 70%)
CMYKcmyk(0%, 10.1%, 71.9%, 30.2%)
CIE-LABlab(65.62, -5.78, 56.68)
CIE-LCHlch(65.62, 56.97, 95.82°)
OKLaboklab(70.17% -0.0216 0.1258)
OKLCHoklch(70.17% 0.128 99.7)
XYZxyz(31.5081, 34.8384, 8.0818)
Luminance0.3484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A032 #3244B2
analogous
#B26032 #B2A032 #84B232
triadic
#B2A032 #32B2A0 #A032B2
tetradic
#B2A032 #32B260 #3244B2 #B23284
square
#B2A032 #32B260 #3244B2 #B23284
split-complementary
#B2A032 #3284B2 #6032B2
monochromatic
#524A17 #827525 #B2A032 #CFBD53 #DCCF82

Accessibility & contrast

On white

2.64
#B2A032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#B2A032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A032
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A032#FFFFFF#000000##000000
##B2A0321.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C21
Deuteranopia (green-blind)
#B4A239
Tritanopia (blue-blind)
#C0948A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b2a032;
/* rgb */ color: rgb(178, 160, 50);
/* oklch */ color: oklch(70.2% 0.128 99.7);
Tailwind
colors: {
  custom: {
    50: '#cdbb71',
    500: '#b2a032',
    950: '#000000',
  },
}
SCSS
$custom: #b2a032;
$custom-light: #cdbb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a032",
  "rgb": {
    "r": 178,
    "g": 160,
    "b": 50
  },
  "hsl": {
    "h": 51.563,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70169,
    "c": 0.12767,
    "h": 99.7
  },
  "luminance": 0.34837
}

Semantic roles & 50–950 ramp

primary
#B2A032
secondary
#7B85C5
accent
#5EDF48
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B2A032

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

Preview Lab → · Contrast checker → · Palette generator →

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