#B8AC32#B8AC32

#B8AC32 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.3% C 0.138 H 103.6°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#B8AC32
RGBrgb(184, 172, 50)
HSLhsl(55, 57%, 46%)
HSVhsv(55, 73%, 72%)
CMYKcmyk(0%, 6.5%, 72.8%, 27.8%)
CIE-LABlab(69.42, -9.47, 60.56)
CIE-LCHlch(69.42, 61.29, 98.89°)
OKLaboklab(73.31% -0.0323 0.1338)
OKLCHoklch(73.31% 0.138 103.6)
XYZxyz(35.0969, 39.9271, 8.8750)
Luminance0.3993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AC32 #323EB8
analogous
#B86932 #B8AC32 #81B832
triadic
#B8AC32 #32B8AC #AC32B8
tetradic
#B8AC32 #32B869 #323EB8 #B83281
square
#B8AC32 #32B869 #323EB8 #B83281
split-complementary
#B8AC32 #3281B8 #6932B8
monochromatic
#585218 #887F25 #B8AC32 #D1C656 #DED686

Accessibility & contrast

On white

2.34
#B8AC32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#B8AC32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AC32
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AC32#FFFFFF#000000##000000
##B8AC321.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA61C
Deuteranopia (green-blind)
#BFAC3A
Tritanopia (blue-blind)
#C6A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b8ac32;
/* rgb */ color: rgb(184, 172, 50);
/* oklch */ color: oklch(73.3% 0.138 103.6);
Tailwind
colors: {
  custom: {
    50: '#d1c472',
    500: '#b8ac32',
    950: '#000000',
  },
}
SCSS
$custom: #b8ac32;
$custom-light: #d1c472;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ac32",
  "rgb": {
    "r": 184,
    "g": 172,
    "b": 50
  },
  "hsl": {
    "h": 54.627,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73312,
    "c": 0.13766,
    "h": 103.6
  },
  "luminance": 0.39926
}

Semantic roles & 50–950 ramp

primary
#B8AC32
secondary
#7E85C8
accent
#55E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B8AC32

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

Preview Lab → · Contrast checker → · Palette generator →

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