#B2B732#B2B732

#B2B732 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.2% C 0.149 H 111.7°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#B2B732
RGBrgb(178, 183, 50)
HSLhsl(62, 57%, 46%)
HSVhsv(62, 73%, 72%)
CMYKcmyk(2.7%, 0%, 72.7%, 28.2%)
CIE-LABlab(71.94, -17.70, 62.80)
CIE-LCHlch(71.94, 65.24, 105.74°)
OKLaboklab(75.2% -0.0551 0.1388)
OKLCHoklch(75.2% 0.149 111.7)
XYZxyz(35.8705, 43.5631, 9.5360)
Luminance0.4356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B732 #3732B7
analogous
#B77A32 #B2B732 #6FB732
triadic
#B2B732 #32B2B7 #B732B2
tetradic
#B2B732 #32B77A #3732B7 #B7326F
square
#B2B732 #32B77A #3732B7 #B7326F
split-complementary
#B2B732 #326FB7 #7A32B7
monochromatic
#545718 #838725 #B2B732 #CCD156 #DBDE86

Accessibility & contrast

On white

2.16
#B2B732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#B2B732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B732
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B732#FFFFFF#000000##000000
##B2B7321.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF18
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#BEAC9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b732;
/* rgb */ color: rgb(178, 183, 50);
/* oklch */ color: oklch(75.2% 0.149 111.7);
Tailwind
colors: {
  custom: {
    50: '#cccc74',
    500: '#b2b732',
    950: '#000000',
  },
}
SCSS
$custom: #b2b732;
$custom-light: #cccc74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b732",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 50
  },
  "hsl": {
    "h": 62.256,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75199,
    "c": 0.1493,
    "h": 111.7
  },
  "luminance": 0.43562
}

Semantic roles & 50–950 ramp

primary
#B2B732
secondary
#807DC7
accent
#47E04D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B732

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

Preview Lab → · Contrast checker → · Palette generator →

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