#B6AC3A#B6AC3A

#B6AC3A is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.2% C 0.133 H 104.3°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#B6AC3A
RGBrgb(182, 172, 58)
HSLhsl(55, 52%, 47%)
HSVhsv(55, 68%, 71%)
CMYKcmyk(0%, 5.5%, 68.1%, 28.6%)
CIE-LABlab(69.30, -9.93, 57.30)
CIE-LCHlch(69.30, 58.16, 99.83°)
OKLaboklab(73.19% -0.0327 0.1284)
OKLCHoklch(73.19% 0.133 104.3)
XYZxyz(34.8090, 39.7570, 9.8425)
Luminance0.3976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AC3A #3A44B6
analogous
#B66E3A #B6AC3A #82B63A
triadic
#B6AC3A #3AB6AC #AC3AB6
tetradic
#B6AC3A #3AB66E #3A44B6 #B63A82
square
#B6AC3A #3AB66E #3A44B6 #B63A82
split-complementary
#B6AC3A #3A82B6 #6E3AB6
monochromatic
#59541C #88802B #B6AC3A #CDC461 #DBD58F

Accessibility & contrast

On white

2.35
#B6AC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#B6AC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AC3A
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AC3A#FFFFFF#000000##000000
##B6AC3A1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62A
Deuteranopia (green-blind)
#BEAC41
Tritanopia (blue-blind)
#C3A095
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b6ac3a;
/* rgb */ color: rgb(182, 172, 58);
/* oklch */ color: oklch(73.2% 0.133 104.3);
Tailwind
colors: {
  custom: {
    50: '#cfc477',
    500: '#b6ac3a',
    950: '#000000',
  },
}
SCSS
$custom: #b6ac3a;
$custom-light: #cfc477;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ac3a",
  "rgb": {
    "r": 182,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 55.161,
    "s": 51.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.7319,
    "c": 0.13253,
    "h": 104.3
  },
  "luminance": 0.39756
}

Semantic roles & 50–950 ramp

primary
#B6AC3A
secondary
#868BC6
accent
#58DB4D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B6AC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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