#B6A534#B6A534

#B6A534 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.6% C 0.130 H 100.5°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B6A534
RGBrgb(182, 165, 52)
HSLhsl(52, 56%, 46%)
HSVhsv(52, 71%, 71%)
CMYKcmyk(0%, 9.3%, 71.4%, 28.6%)
CIE-LABlab(67.36, -6.57, 57.73)
CIE-LCHlch(67.36, 58.10, 96.49°)
OKLaboklab(71.64% -0.0238 0.1283)
OKLCHoklch(71.64% 0.13 100.5)
XYZxyz(33.3679, 37.1048, 8.6525)
Luminance0.3710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A534 #3445B6
analogous
#B66434 #B6A534 #86B634
triadic
#B6A534 #34B6A5 #A534B6
tetradic
#B6A534 #34B664 #3445B6 #B63486
square
#B6A534 #34B664 #3445B6 #B63486
split-complementary
#B6A534 #3486B6 #6434B6
monochromatic
#574F19 #867A26 #B6A534 #CFC058 #DDD288

Accessibility & contrast

On white

2.49
#B6A534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B6A534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A534
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A534#FFFFFF#000000##000000
##B6A5341.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A022
Deuteranopia (green-blind)
#B9A73B
Tritanopia (blue-blind)
#C4998F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b6a534;
/* rgb */ color: rgb(182, 165, 52);
/* oklch */ color: oklch(71.6% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#cfbf73',
    500: '#b6a534',
    950: '#000000',
  },
}
SCSS
$custom: #b6a534;
$custom-light: #cfbf73;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a534",
  "rgb": {
    "r": 182,
    "g": 165,
    "b": 52
  },
  "hsl": {
    "h": 52.154,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71635,
    "c": 0.13047,
    "h": 100.5
  },
  "luminance": 0.37103
}

Semantic roles & 50–950 ramp

primary
#B6A534
secondary
#7F88C7
accent
#5DDF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A534

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

Preview Lab → · Contrast checker → · Palette generator →

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