#B6A537#B6A537

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

Color values

HEX#B6A537
RGBrgb(182, 165, 55)
HSLhsl(52, 54%, 46%)
HSVhsv(52, 70%, 71%)
CMYKcmyk(0%, 9.3%, 69.8%, 28.6%)
CIE-LABlab(67.38, -6.41, 56.57)
CIE-LCHlch(67.38, 56.93, 96.47°)
OKLaboklab(71.66% -0.0231 0.1264)
OKLCHoklch(71.66% 0.128 100.3)
XYZxyz(33.4376, 37.1327, 9.0197)
Luminance0.3713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A537 #3748B6
analogous
#B66637 #B6A537 #87B637
triadic
#B6A537 #37B6A5 #A537B6
tetradic
#B6A537 #37B666 #3748B6 #B63787
square
#B6A537 #37B666 #3748B6 #B63787
split-complementary
#B6A537 #3787B6 #6637B6
monochromatic
#58501B #877A29 #B6A537 #CEBF5C #DCD18B

Accessibility & contrast

On white

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

On black

8.43
#B6A537 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A537
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A537#FFFFFF#000000##000000
##B6A5371.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b6a537;
/* rgb */ color: rgb(182, 165, 55);
/* oklch */ color: oklch(71.7% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#cfbf74',
    500: '#b6a537',
    950: '#000000',
  },
}
SCSS
$custom: #b6a537;
$custom-light: #cfbf74;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a537",
  "rgb": {
    "r": 182,
    "g": 165,
    "b": 55
  },
  "hsl": {
    "h": 51.969,
    "s": 53.586,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71658,
    "c": 0.12845,
    "h": 100.3
  },
  "luminance": 0.37131
}

Semantic roles & 50–950 ramp

primary
#B6A537
secondary
#828CC6
accent
#5EDD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B6A537

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

Preview Lab → · Contrast checker → · Palette generator →

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