#B2B532#B2B532

#B2B532 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.8% C 0.147 H 110.8°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#B2B532
RGBrgb(178, 181, 50)
HSLhsl(61, 57%, 45%)
HSVhsv(61, 72%, 71%)
CMYKcmyk(1.7%, 0%, 72.4%, 29%)
CIE-LABlab(71.38, -16.69, 62.27)
CIE-LCHlch(71.38, 64.46, 105.01°)
OKLaboklab(74.76% -0.0523 0.1376)
OKLCHoklch(74.76% 0.147 110.8)
XYZxyz(35.4609, 42.7440, 9.3994)
Luminance0.4274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B532 #3532B5
analogous
#B57632 #B2B532 #70B532
triadic
#B2B532 #32B2B5 #B532B2
tetradic
#B2B532 #32B576 #3532B5 #B53270
square
#B2B532 #32B576 #3532B5 #B53270
split-complementary
#B2B532 #3270B5 #7632B5
monochromatic
#545518 #838525 #B2B532 #CDD054 #DBDD84

Accessibility & contrast

On white

2.20
#B2B532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#B2B532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B532
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B532#FFFFFF#000000##000000
##B2B5321.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD19
Deuteranopia (green-blind)
#C4B13C
Tritanopia (blue-blind)
#BEAA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b532;
/* rgb */ color: rgb(178, 181, 50);
/* oklch */ color: oklch(74.8% 0.147 110.8);
Tailwind
colors: {
  custom: {
    50: '#ccca73',
    500: '#b2b532',
    950: '#000000',
  },
}
SCSS
$custom: #b2b532;
$custom-light: #ccca73;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b532",
  "rgb": {
    "r": 178,
    "g": 181,
    "b": 50
  },
  "hsl": {
    "h": 61.374,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74755,
    "c": 0.14724,
    "h": 110.8
  },
  "luminance": 0.42743
}

Semantic roles & 50–950 ramp

primary
#B2B532
secondary
#7E7CC7
accent
#48E04B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B532

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

Preview Lab → · Contrast checker → · Palette generator →

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