#B6A536#B6A536

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

Color values

HEX#B6A536
RGBrgb(182, 165, 54)
HSLhsl(52, 54%, 46%)
HSVhsv(52, 70%, 71%)
CMYKcmyk(0%, 9.3%, 70.3%, 28.6%)
CIE-LABlab(67.37, -6.47, 56.96)
CIE-LCHlch(67.37, 57.33, 96.48°)
OKLaboklab(71.65% -0.0233 0.127)
OKLCHoklch(71.65% 0.129 100.4)
XYZxyz(33.4139, 37.1232, 8.8948)
Luminance0.3712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A536 #3647B6
analogous
#B66536 #B6A536 #87B636
triadic
#B6A536 #36B6A5 #A536B6
tetradic
#B6A536 #36B665 #3647B6 #B63687
square
#B6A536 #36B665 #3647B6 #B63687
split-complementary
#B6A536 #3687B6 #6536B6
monochromatic
#584F1A #877A28 #B6A536 #CEBF5B #DCD18A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6A536#FFFFFF#000000##000000
##B6A5361.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)
#B5A025
Deuteranopia (green-blind)
#B9A73D
Tritanopia (blue-blind)
#C4998F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b6a536;
/* rgb */ color: rgb(182, 165, 54);
/* oklch */ color: oklch(71.7% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#cfbf74',
    500: '#b6a536',
    950: '#000000',
  },
}
SCSS
$custom: #b6a536;
$custom-light: #cfbf74;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a536",
  "rgb": {
    "r": 182,
    "g": 165,
    "b": 54
  },
  "hsl": {
    "h": 52.031,
    "s": 54.237,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7165,
    "c": 0.12913,
    "h": 100.4
  },
  "luminance": 0.37122
}

Semantic roles & 50–950 ramp

primary
#B6A536
secondary
#818BC6
accent
#5EDE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B6A536

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

Preview Lab → · Contrast checker → · Palette generator →

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