#B6A545#B6A545

#B6A545 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 71.8% C 0.118 H 99.3°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#B6A545
RGBrgb(182, 165, 69)
HSLhsl(51, 45%, 49%)
HSVhsv(51, 62%, 71%)
CMYKcmyk(0%, 9.3%, 62.1%, 28.6%)
CIE-LABlab(67.49, -5.56, 50.68)
CIE-LCHlch(67.49, 50.98, 96.26°)
OKLaboklab(71.79% -0.019 0.1161)
OKLCHoklch(71.79% 0.118 99.3)
XYZxyz(33.8221, 37.2865, 11.0445)
Luminance0.3729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A545 #4556B6
analogous
#B66C45 #B6A545 #8FB645
triadic
#B6A545 #45B6A5 #A545B6
tetradic
#B6A545 #45B66C #4556B6 #B6458F
square
#B6A545 #45B66C #4556B6 #B6458F
split-complementary
#B6A545 #458FB6 #6C45B6
monochromatic
#5D5523 #8A7D34 #B6A545 #C9BB70 #D9D09C

Accessibility & contrast

On white

2.48
#B6A545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#B6A545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A545
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A545#FFFFFF#000000##000000
##B6A5451.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A13A
Deuteranopia (green-blind)
#B8A74A
Tritanopia (blue-blind)
#C39A90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b6a545;
/* rgb */ color: rgb(182, 165, 69);
/* oklch */ color: oklch(71.8% 0.118 99.3);
Tailwind
colors: {
  custom: {
    50: '#cfbf7d',
    500: '#b6a545',
    950: '#000000',
  },
}
SCSS
$custom: #b6a545;
$custom-light: #cfbf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a545",
  "rgb": {
    "r": 182,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 50.973,
    "s": 45.02,
    "l": 49.216
  },
  "oklch": {
    "l": 0.71786,
    "c": 0.11767,
    "h": 99.3
  },
  "luminance": 0.37285
}

Semantic roles & 50–950 ramp

primary
#B6A545
secondary
#9199C6
accent
#67D553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B6A545

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

Preview Lab → · Contrast checker → · Palette generator →

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