#B2AB32#B2AB32

#B2AB32 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.137 H 106.0°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B2AB32
RGBrgb(178, 171, 50)
HSLhsl(57, 56%, 45%)
HSVhsv(57, 72%, 70%)
CMYKcmyk(0%, 3.9%, 71.9%, 30.2%)
CIE-LABlab(68.62, -11.56, 59.61)
CIE-LCHlch(68.62, 60.72, 100.98°)
OKLaboklab(72.55% -0.0379 0.132)
OKLCHoklch(72.55% 0.137 106)
XYZxyz(33.5001, 38.8223, 8.7458)
Luminance0.3882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB32 #3239B2
analogous
#B26B32 #B2AB32 #79B232
triadic
#B2AB32 #32B2AB #AB32B2
tetradic
#B2AB32 #32B26B #3239B2 #B23279
square
#B2AB32 #32B26B #3239B2 #B23279
split-complementary
#B2AB32 #3279B2 #6B32B2
monochromatic
#524F17 #827D25 #B2AB32 #CFC853 #DCD782

Accessibility & contrast

On white

2.40
#B2AB32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#B2AB32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AB32
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AB32#FFFFFF#000000##000000
##B2AB321.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51D
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#BF9F93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2ab32;
/* rgb */ color: rgb(178, 171, 50);
/* oklch */ color: oklch(72.6% 0.137 106.0);
Tailwind
colors: {
  custom: {
    50: '#ccc372',
    500: '#b2ab32',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab32;
$custom-light: #ccc372;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab32",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 50
  },
  "hsl": {
    "h": 56.719,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72554,
    "c": 0.13737,
    "h": 106
  },
  "luminance": 0.38821
}

Semantic roles & 50–950 ramp

primary
#B2AB32
secondary
#7B7FC5
accent
#51DF48
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AB32

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

Preview Lab → · Contrast checker → · Palette generator →

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