#B2AC52#B2AC52

#B2AC52 is a light, moderate yellow. Relative luminance 0.396; OKLCH L 73.1% C 0.113 H 105.4°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#B2AC52
RGBrgb(178, 172, 82)
HSLhsl(56, 38%, 51%)
HSVhsv(56, 54%, 70%)
CMYKcmyk(0%, 3.4%, 53.9%, 30.2%)
CIE-LABlab(69.17, -9.97, 46.39)
CIE-LCHlch(69.17, 47.45, 102.13°)
OKLaboklab(73.08% -0.0299 0.1086)
OKLCHoklch(73.08% 0.113 105.4)
XYZxyz(34.6366, 39.5803, 13.7962)
Luminance0.3958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AC52 #5258B2
analogous
#B27C52 #B2AC52 #88B252
triadic
#B2AC52 #52B2AC #AC52B2
tetradic
#B2AC52 #52B27C #5258B2 #B25288
square
#B2AC52 #52B27C #5258B2 #B25288
split-complementary
#B2AC52 #5288B2 #7C52B2
monochromatic
#5F5C2A #8A853D #B2AC52 #C5C07C #D8D5A7

Accessibility & contrast

On white

2.36
#B2AC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#B2AC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AC52
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AC52#FFFFFF#000000##000000
##B2AC521.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A649
Deuteranopia (green-blind)
#BBAB57
Tritanopia (blue-blind)
#BEA298
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b2ac52;
/* rgb */ color: rgb(178, 172, 82);
/* oklch */ color: oklch(73.1% 0.113 105.4);
Tailwind
colors: {
  custom: {
    50: '#cbc485',
    500: '#b2ac52',
    950: '#000000',
  },
}
SCSS
$custom: #b2ac52;
$custom-light: #cbc485;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ac52",
  "rgb": {
    "r": 178,
    "g": 172,
    "b": 82
  },
  "hsl": {
    "h": 56.25,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73077,
    "c": 0.11267,
    "h": 105.4
  },
  "luminance": 0.39579
}

Semantic roles & 50–950 ramp

primary
#B2AC52
secondary
#9B9DC5
accent
#61CE59
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2AC52

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

Preview Lab → · Contrast checker → · Palette generator →

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