#B8AC2A#B8AC2A

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

Color values

HEX#B8AC2A
RGBrgb(184, 172, 42)
HSLhsl(55, 63%, 44%)
HSVhsv(55, 77%, 72%)
CMYKcmyk(0%, 6.5%, 77.2%, 27.8%)
CIE-LABlab(69.37, -9.81, 63.27)
CIE-LCHlch(69.37, 64.03, 98.81°)
OKLaboklab(73.26% -0.0341 0.1381)
OKLCHoklch(73.26% 0.142 103.9)
XYZxyz(34.9392, 39.8640, 8.0442)
Luminance0.3986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AC2A #2A36B8
analogous
#B8652A #B8AC2A #7DB82A
triadic
#B8AC2A #2AB8AC #AC2AB8
tetradic
#B8AC2A #2AB865 #2A36B8 #B82A7D
square
#B8AC2A #2AB865 #2A36B8 #B82A7D
split-complementary
#B8AC2A #2A7DB8 #652AB8
monochromatic
#544F13 #867D1F #B8AC2A #D6CA4A #E1D87B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AC2A#FFFFFF#000000##000000
##B8AC2A1.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)
#BCA609
Deuteranopia (green-blind)
#C0AC34
Tritanopia (blue-blind)
#C6A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b8ac2a;
/* rgb */ color: rgb(184, 172, 42);
/* oklch */ color: oklch(73.3% 0.142 103.9);
Tailwind
colors: {
  custom: {
    50: '#d1c46f',
    500: '#b8ac2a',
    950: '#000000',
  },
}
SCSS
$custom: #b8ac2a;
$custom-light: #d1c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ac2a",
  "rgb": {
    "r": 184,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 54.93,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73262,
    "c": 0.14221,
    "h": 103.9
  },
  "luminance": 0.39863
}

Semantic roles & 50–950 ramp

primary
#B8AC2A
secondary
#757CC9
accent
#50E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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