#B2B932#B2B932

#B2B932 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.6% C 0.151 H 112.5°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#B2B932
RGBrgb(178, 185, 50)
HSLhsl(63, 57%, 46%)
HSVhsv(63, 73%, 73%)
CMYKcmyk(3.8%, 0%, 73%, 27.5%)
CIE-LABlab(72.49, -18.71, 63.33)
CIE-LCHlch(72.49, 66.03, 106.46°)
OKLaboklab(75.64% -0.0579 0.1399)
OKLCHoklch(75.64% 0.151 112.5)
XYZxyz(36.2859, 44.3940, 9.6744)
Luminance0.4439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B932 #3932B9
analogous
#B97C32 #B2B932 #6EB932
triadic
#B2B932 #32B2B9 #B932B2
tetradic
#B2B932 #32B97C #3932B9 #B9326E
square
#B2B932 #32B97C #3932B9 #B9326E
split-complementary
#B2B932 #326EB9 #7C32B9
monochromatic
#555918 #848925 #B2B932 #CBD257 #DADF87

Accessibility & contrast

On white

2.13
#B2B932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#B2B932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B932
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B932#FFFFFF#000000##000000
##B2B9321.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B017
Deuteranopia (green-blind)
#C7B33D
Tritanopia (blue-blind)
#BEAE9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b2b932;
/* rgb */ color: rgb(178, 185, 50);
/* oklch */ color: oklch(75.6% 0.151 112.5);
Tailwind
colors: {
  custom: {
    50: '#cdcd74',
    500: '#b2b932',
    950: '#000000',
  },
}
SCSS
$custom: #b2b932;
$custom-light: #cdcd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b932",
  "rgb": {
    "r": 178,
    "g": 185,
    "b": 50
  },
  "hsl": {
    "h": 63.111,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75643,
    "c": 0.15139,
    "h": 112.5
  },
  "luminance": 0.44393
}

Semantic roles & 50–950 ramp

primary
#B2B932
secondary
#827FC8
accent
#47E14F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B932

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

Preview Lab → · Contrast checker → · Palette generator →

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