#B2B832#B2B832

#B2B832 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.4% C 0.150 H 112.1°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#B2B832
RGBrgb(178, 184, 50)
HSLhsl(63, 57%, 46%)
HSVhsv(63, 73%, 72%)
CMYKcmyk(3.3%, 0%, 72.8%, 27.8%)
CIE-LABlab(72.21, -18.21, 63.06)
CIE-LCHlch(72.21, 65.64, 106.10°)
OKLaboklab(75.42% -0.0565 0.1393)
OKLCHoklch(75.42% 0.15 112.1)
XYZxyz(36.0775, 43.9771, 9.6050)
Luminance0.4398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B832 #3832B8
analogous
#B87B32 #B2B832 #6FB832
triadic
#B2B832 #32B2B8 #B832B2
tetradic
#B2B832 #32B87B #3832B8 #B8326F
square
#B2B832 #32B87B #3832B8 #B8326F
split-complementary
#B2B832 #326FB8 #7B32B8
monochromatic
#555818 #838825 #B2B832 #CCD156 #DADE86

Accessibility & contrast

On white

2.14
#B2B832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#B2B832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B832
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B832#FFFFFF#000000##000000
##B2B8321.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF17
Deuteranopia (green-blind)
#C7B33D
Tritanopia (blue-blind)
#BEAD9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b832;
/* rgb */ color: rgb(178, 184, 50);
/* oklch */ color: oklch(75.4% 0.150 112.1);
Tailwind
colors: {
  custom: {
    50: '#cdcd74',
    500: '#b2b832',
    950: '#000000',
  },
}
SCSS
$custom: #b2b832;
$custom-light: #cdcd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b832",
  "rgb": {
    "r": 178,
    "g": 184,
    "b": 50
  },
  "hsl": {
    "h": 62.687,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75421,
    "c": 0.15035,
    "h": 112.1
  },
  "luminance": 0.43976
}

Semantic roles & 50–950 ramp

primary
#B2B832
secondary
#817EC8
accent
#47E14E
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B832

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

Preview Lab → · Contrast checker → · Palette generator →

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