#B6A532#B6A532

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

Color values

HEX#B6A532
RGBrgb(182, 165, 50)
HSLhsl(52, 57%, 45%)
HSVhsv(52, 73%, 71%)
CMYKcmyk(0%, 9.3%, 72.5%, 28.6%)
CIE-LABlab(67.34, -6.67, 58.49)
CIE-LCHlch(67.34, 58.86, 96.50°)
OKLaboklab(71.62% -0.0243 0.1295)
OKLCHoklch(71.62% 0.132 100.6)
XYZxyz(33.3238, 37.0872, 8.4202)
Luminance0.3709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A532 #3243B6
analogous
#B66332 #B6A532 #85B632
triadic
#B6A532 #32B6A5 #A532B6
tetradic
#B6A532 #32B663 #3243B6 #B63285
square
#B6A532 #32B663 #3243B6 #B63285
split-complementary
#B6A532 #3285B6 #6332B6
monochromatic
#564E18 #867925 #B6A532 #D0C055 #DDD285

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6A532#FFFFFF#000000##000000
##B6A5321.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)
#B5A01F
Deuteranopia (green-blind)
#BAA739
Tritanopia (blue-blind)
#C4998E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b6a532;
/* rgb */ color: rgb(182, 165, 50);
/* oklch */ color: oklch(71.6% 0.132 100.6);
Tailwind
colors: {
  custom: {
    50: '#d0bf72',
    500: '#b6a532',
    950: '#000000',
  },
}
SCSS
$custom: #b6a532;
$custom-light: #d0bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a532",
  "rgb": {
    "r": 182,
    "g": 165,
    "b": 50
  },
  "hsl": {
    "h": 52.273,
    "s": 56.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.7162,
    "c": 0.13177,
    "h": 100.6
  },
  "luminance": 0.37086
}

Semantic roles & 50–950 ramp

primary
#B6A532
secondary
#7D86C7
accent
#5BE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A532

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

Preview Lab → · Contrast checker → · Palette generator →

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