#B8AC52#B8AC52

#B8AC52 is a light, moderate yellow. Relative luminance 0.403; OKLCH L 73.6% C 0.112 H 101.8°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#B8AC52
RGBrgb(184, 172, 82)
HSLhsl(53, 42%, 52%)
HSVhsv(53, 55%, 72%)
CMYKcmyk(0%, 6.5%, 55.4%, 27.8%)
CIE-LABlab(69.69, -7.43, 47.12)
CIE-LCHlch(69.69, 47.71, 98.96°)
OKLaboklab(73.61% -0.023 0.1101)
OKLCHoklch(73.61% 0.112 101.8)
XYZxyz(36.0439, 40.3059, 13.8622)
Luminance0.4031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AC52 #525EB8
analogous
#B87952 #B8AC52 #91B852
triadic
#B8AC52 #52B8AC #AC52B8
tetradic
#B8AC52 #52B879 #525EB8 #B85291
square
#B8AC52 #52B879 #525EB8 #B85291
split-complementary
#B8AC52 #5291B8 #7952B8
monochromatic
#665F2A #91873C #B8AC52 #CAC17D #DCD6A9

Accessibility & contrast

On white

2.32
#B8AC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#B8AC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AC52
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AC52#FFFFFF#000000##000000
##B8AC521.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA749
Deuteranopia (green-blind)
#BDAD56
Tritanopia (blue-blind)
#C4A298
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b8ac52;
/* rgb */ color: rgb(184, 172, 82);
/* oklch */ color: oklch(73.6% 0.112 101.8);
Tailwind
colors: {
  custom: {
    50: '#d0c485',
    500: '#b8ac52',
    950: '#000000',
  },
}
SCSS
$custom: #b8ac52;
$custom-light: #d0c485;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ac52",
  "rgb": {
    "r": 184,
    "g": 172,
    "b": 82
  },
  "hsl": {
    "h": 52.941,
    "s": 41.803,
    "l": 52.157
  },
  "oklch": {
    "l": 0.73612,
    "c": 0.11246,
    "h": 101.8
  },
  "luminance": 0.40305
}

Semantic roles & 50–950 ramp

primary
#B8AC52
secondary
#9DA2C9
accent
#65D256
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8AC52

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

Preview Lab → · Contrast checker → · Palette generator →

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