#B0AC52#B0AC52

#B0AC52 is a light, moderate yellow. Relative luminance 0.393; OKLCH L 72.9% C 0.113 H 106.6°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#B0AC52
RGBrgb(176, 172, 82)
HSLhsl(57, 37%, 51%)
HSVhsv(57, 53%, 69%)
CMYKcmyk(0%, 2.3%, 53.4%, 31%)
CIE-LABlab(69.00, -10.82, 46.15)
CIE-LCHlch(69.00, 47.40, 103.19°)
OKLaboklab(72.9% -0.0322 0.1082)
OKLCHoklch(72.9% 0.113 106.6)
XYZxyz(34.1809, 39.3453, 13.7749)
Luminance0.3934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0AC52 #5256B0
analogous
#B07D52 #B0AC52 #85B052
triadic
#B0AC52 #52B0AC #AC52B0
tetradic
#B0AC52 #52B07D #5256B0 #B05285
square
#B0AC52 #52B07D #5256B0 #B05285
split-complementary
#B0AC52 #5285B0 #7D52B0
monochromatic
#5D5B2B #87843E #B0AC52 #C3C07C #D6D4A6

Accessibility & contrast

On white

2.37
#B0AC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#B0AC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0AC52
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0AC52#FFFFFF#000000##000000
##B0AC521.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A649
Deuteranopia (green-blind)
#BBAA57
Tritanopia (blue-blind)
#BBA298
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b0ac52;
/* rgb */ color: rgb(176, 172, 82);
/* oklch */ color: oklch(72.9% 0.113 106.6);
Tailwind
colors: {
  custom: {
    50: '#cac485',
    500: '#b0ac52',
    950: '#000000',
  },
}
SCSS
$custom: #b0ac52;
$custom-light: #cac485;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ac52",
  "rgb": {
    "r": 176,
    "g": 172,
    "b": 82
  },
  "hsl": {
    "h": 57.447,
    "s": 37.302,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72902,
    "c": 0.11284,
    "h": 106.6
  },
  "luminance": 0.39344
}

Semantic roles & 50–950 ramp

primary
#B0AC52
secondary
#9A9CC4
accent
#5FCD5B
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #B0AC52

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

Preview Lab → · Contrast checker → · Palette generator →

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