#B2AC32#B2AC32

#B2AC32 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.8% C 0.138 H 106.5°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#B2AC32
RGBrgb(178, 172, 50)
HSLhsl(57, 56%, 45%)
HSVhsv(57, 72%, 70%)
CMYKcmyk(0%, 3.4%, 71.9%, 30.2%)
CIE-LABlab(68.90, -12.08, 59.87)
CIE-LCHlch(68.90, 61.08, 101.41°)
OKLaboklab(72.77% -0.0394 0.1326)
OKLCHoklch(72.77% 0.138 106.5)
XYZxyz(33.6897, 39.2015, 8.8090)
Luminance0.3920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AC32 #3238B2
analogous
#B26C32 #B2AC32 #78B232
triadic
#B2AC32 #32B2AC #AC32B2
tetradic
#B2AC32 #32B26C #3238B2 #B23278
square
#B2AC32 #32B26C #3238B2 #B23278
split-complementary
#B2AC32 #3278B2 #6C32B2
monochromatic
#525017 #827E25 #B2AC32 #CFC953 #DCD882

Accessibility & contrast

On white

2.38
#B2AC32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#B2AC32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AC32
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AC32#FFFFFF#000000##000000
##B2AC321.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA51D
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#BFA094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ac32;
/* rgb */ color: rgb(178, 172, 50);
/* oklch */ color: oklch(72.8% 0.138 106.5);
Tailwind
colors: {
  custom: {
    50: '#ccc472',
    500: '#b2ac32',
    950: '#000000',
  },
}
SCSS
$custom: #b2ac32;
$custom-light: #ccc472;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ac32",
  "rgb": {
    "r": 178,
    "g": 172,
    "b": 50
  },
  "hsl": {
    "h": 57.188,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72772,
    "c": 0.13831,
    "h": 106.5
  },
  "luminance": 0.392
}

Semantic roles & 50–950 ramp

primary
#B2AC32
secondary
#7B7EC5
accent
#4FDF48
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2AC32

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

Preview Lab → · Contrast checker → · Palette generator →

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