#B2B332#B2B332

#B2B332 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.3% C 0.145 H 109.9°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#B2B332
RGBrgb(178, 179, 50)
HSLhsl(60, 56%, 45%)
HSVhsv(60, 72%, 70%)
CMYKcmyk(0.6%, 0%, 72.1%, 29.8%)
CIE-LABlab(70.83, -15.68, 61.73)
CIE-LCHlch(70.83, 63.69, 104.25°)
OKLaboklab(74.31% -0.0495 0.1365)
OKLCHoklch(74.31% 0.145 109.9)
XYZxyz(35.0572, 41.9365, 9.2648)
Luminance0.4194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B332 #3332B3
analogous
#B37332 #B2B332 #72B332
triadic
#B2B332 #32B2B3 #B332B2
tetradic
#B2B332 #32B373 #3332B3 #B33272
square
#B2B332 #32B373 #3332B3 #B33272
split-complementary
#B2B332 #3272B3 #7332B3
monochromatic
#535317 #828325 #B2B332 #CECF53 #DCDC83

Accessibility & contrast

On white

2.24
#B2B332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#B2B332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B332
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B332#FFFFFF#000000##000000
##B2B3321.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB1A
Deuteranopia (green-blind)
#C3AF3C
Tritanopia (blue-blind)
#BFA89A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b332;
/* rgb */ color: rgb(178, 179, 50);
/* oklch */ color: oklch(74.3% 0.145 109.9);
Tailwind
colors: {
  custom: {
    50: '#ccc973',
    500: '#b2b332',
    950: '#000000',
  },
}
SCSS
$custom: #b2b332;
$custom-light: #ccc973;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b332",
  "rgb": {
    "r": 178,
    "g": 179,
    "b": 50
  },
  "hsl": {
    "h": 60.465,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74313,
    "c": 0.1452,
    "h": 109.9
  },
  "luminance": 0.41935
}

Semantic roles & 50–950 ramp

primary
#B2B332
secondary
#7C7BC6
accent
#48E049
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B332

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

Preview Lab → · Contrast checker → · Palette generator →

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