#B8AC2B#B8AC2B

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

Color values

HEX#B8AC2B
RGBrgb(184, 172, 43)
HSLhsl(55, 62%, 45%)
HSVhsv(55, 77%, 72%)
CMYKcmyk(0%, 6.5%, 76.6%, 27.8%)
CIE-LABlab(69.38, -9.77, 62.95)
CIE-LCHlch(69.38, 63.71, 98.82°)
OKLaboklab(73.27% -0.0339 0.1376)
OKLCHoklch(73.27% 0.142 103.8)
XYZxyz(34.9573, 39.8713, 8.1396)
Luminance0.3987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AC2B #2B37B8
analogous
#B8662B #B8AC2B #7DB82B
triadic
#B8AC2B #2BB8AC #AC2BB8
tetradic
#B8AC2B #2BB866 #2B37B8 #B82B7D
square
#B8AC2B #2BB866 #2B37B8 #B82B7D
split-complementary
#B8AC2B #2B7DB8 #662BB8
monochromatic
#554F14 #867E1F #B8AC2B #D5C94B #E1D87D

Accessibility & contrast

On white

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

On black

8.97
#B8AC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AC2B
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AC2B#FFFFFF#000000##000000
##B8AC2B1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8ac2b;
/* rgb */ color: rgb(184, 172, 43);
/* oklch */ color: oklch(73.3% 0.142 103.8);
Tailwind
colors: {
  custom: {
    50: '#d1c46f',
    500: '#b8ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #b8ac2b;
$custom-light: #d1c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ac2b",
  "rgb": {
    "r": 184,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 54.894,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73268,
    "c": 0.14169,
    "h": 103.8
  },
  "luminance": 0.3987
}

Semantic roles & 50–950 ramp

primary
#B8AC2B
secondary
#767DC9
accent
#50E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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