#B2B132#B2B132

#B2B132 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.9% C 0.143 H 109.0°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#B2B132
RGBrgb(178, 177, 50)
HSLhsl(60, 56%, 45%)
HSVhsv(60, 72%, 70%)
CMYKcmyk(0%, 0.6%, 71.9%, 30.2%)
CIE-LABlab(70.27, -14.66, 61.20)
CIE-LCHlch(70.27, 62.93, 103.47°)
OKLaboklab(73.87% -0.0466 0.1354)
OKLCHoklch(73.87% 0.143 109)
XYZxyz(34.6592, 41.1406, 9.1322)
Luminance0.4114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B132 #3233B2
analogous
#B27132 #B2B132 #73B232
triadic
#B2B132 #32B2B1 #B132B2
tetradic
#B2B132 #32B271 #3233B2 #B23273
square
#B2B132 #32B271 #3233B2 #B23273
split-complementary
#B2B132 #3273B2 #7132B2
monochromatic
#525217 #828125 #B2B132 #CFCE53 #DCDB82

Accessibility & contrast

On white

2.28
#B2B132 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#B2B132 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B132
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B132#FFFFFF#000000##000000
##B2B1321.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA1B
Deuteranopia (green-blind)
#C1AE3C
Tritanopia (blue-blind)
#BFA698
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b132;
/* rgb */ color: rgb(178, 177, 50);
/* oklch */ color: oklch(73.9% 0.143 109.0);
Tailwind
colors: {
  custom: {
    50: '#ccc873',
    500: '#b2b132',
    950: '#000000',
  },
}
SCSS
$custom: #b2b132;
$custom-light: #ccc873;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b132",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 50
  },
  "hsl": {
    "h": 59.531,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73871,
    "c": 0.14319,
    "h": 109
  },
  "luminance": 0.4114
}

Semantic roles & 50–950 ramp

primary
#B2B132
secondary
#7B7BC5
accent
#4ADF48
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B132

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

Preview Lab → · Contrast checker → · Palette generator →

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