#B6A533#B6A533

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

Color values

HEX#B6A533
RGBrgb(182, 165, 51)
HSLhsl(52, 56%, 46%)
HSVhsv(52, 72%, 71%)
CMYKcmyk(0%, 9.3%, 72%, 28.6%)
CIE-LABlab(67.35, -6.62, 58.11)
CIE-LCHlch(67.35, 58.49, 96.50°)
OKLaboklab(71.63% -0.0241 0.1289)
OKLCHoklch(71.63% 0.131 100.6)
XYZxyz(33.3456, 37.0959, 8.5351)
Luminance0.3709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A533 #3344B6
analogous
#B66433 #B6A533 #85B633
triadic
#B6A533 #33B6A5 #A533B6
tetradic
#B6A533 #33B664 #3344B6 #B63385
square
#B6A533 #33B664 #3344B6 #B63385
split-complementary
#B6A533 #3385B6 #6433B6
monochromatic
#564E18 #867A26 #B6A533 #D0C056 #DDD286

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6A533#FFFFFF#000000##000000
##B6A5331.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)
#B5A021
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#C4998E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b6a533;
/* rgb */ color: rgb(182, 165, 51);
/* oklch */ color: oklch(71.6% 0.131 100.6);
Tailwind
colors: {
  custom: {
    50: '#cfbf72',
    500: '#b6a533',
    950: '#000000',
  },
}
SCSS
$custom: #b6a533;
$custom-light: #cfbf72;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a533",
  "rgb": {
    "r": 182,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 52.214,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71628,
    "c": 0.13113,
    "h": 100.6
  },
  "luminance": 0.37094
}

Semantic roles & 50–950 ramp

primary
#B6A533
secondary
#7E87C7
accent
#5CE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A533

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

Preview Lab → · Contrast checker → · Palette generator →

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