#B6AC3B#B6AC3B

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

Color values

HEX#B6AC3B
RGBrgb(182, 172, 59)
HSLhsl(55, 51%, 47%)
HSVhsv(55, 68%, 71%)
CMYKcmyk(0%, 5.5%, 67.6%, 28.6%)
CIE-LABlab(69.30, -9.87, 56.91)
CIE-LCHlch(69.30, 57.76, 99.84°)
OKLaboklab(73.2% -0.0324 0.1278)
OKLCHoklch(73.2% 0.132 104.2)
XYZxyz(34.8347, 39.7672, 9.9777)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AC3B #3B45B6
analogous
#B66F3B #B6AC3B #83B63B
triadic
#B6AC3B #3BB6AC #AC3BB6
tetradic
#B6AC3B #3BB66F #3B45B6 #B63B83
square
#B6AC3B #3BB66F #3B45B6 #B63B83
split-complementary
#B6AC3B #3B83B6 #6F3BB6
monochromatic
#5A551D #88802C #B6AC3B #CCC462 #DBD590

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6AC3B#FFFFFF#000000##000000
##B6AC3B1.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)
#BBA62B
Deuteranopia (green-blind)
#BEAC42
Tritanopia (blue-blind)
#C3A095
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b6ac3b;
/* rgb */ color: rgb(182, 172, 59);
/* oklch */ color: oklch(73.2% 0.132 104.2);
Tailwind
colors: {
  custom: {
    50: '#cfc477',
    500: '#b6ac3b',
    950: '#000000',
  },
}
SCSS
$custom: #b6ac3b;
$custom-light: #cfc477;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ac3b",
  "rgb": {
    "r": 182,
    "g": 172,
    "b": 59
  },
  "hsl": {
    "h": 55.122,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73199,
    "c": 0.13181,
    "h": 104.2
  },
  "luminance": 0.39766
}

Semantic roles & 50–950 ramp

primary
#B6AC3B
secondary
#878CC6
accent
#59DB4D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B6AC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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