#B6A540#B6A540

#B6A540 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.7% C 0.122 H 99.7°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#B6A540
RGBrgb(182, 165, 64)
HSLhsl(51, 48%, 48%)
HSVhsv(51, 65%, 71%)
CMYKcmyk(0%, 9.3%, 64.8%, 28.6%)
CIE-LABlab(67.45, -5.89, 52.86)
CIE-LCHlch(67.45, 53.19, 96.36°)
OKLaboklab(71.74% -0.0205 0.12)
OKLCHoklch(71.74% 0.122 99.7)
XYZxyz(33.6734, 37.2270, 10.2613)
Luminance0.3723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A540 #4051B6
analogous
#B66A40 #B6A540 #8CB640
triadic
#B6A540 #40B6A5 #A540B6
tetradic
#B6A540 #40B66A #4051B6 #B6408C
square
#B6A540 #40B66A #4051B6 #B6408C
split-complementary
#B6A540 #408CB6 #6A40B6
monochromatic
#5B5320 #897C30 #B6A540 #CABC69 #DAD096

Accessibility & contrast

On white

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

On black

8.45
#B6A540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A540
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A540#FFFFFF#000000##000000
##B6A5401.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A134
Deuteranopia (green-blind)
#B9A745
Tritanopia (blue-blind)
#C49A90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b6a540;
/* rgb */ color: rgb(182, 165, 64);
/* oklch */ color: oklch(71.7% 0.122 99.7);
Tailwind
colors: {
  custom: {
    50: '#cfbf7a',
    500: '#b6a540',
    950: '#000000',
  },
}
SCSS
$custom: #b6a540;
$custom-light: #cfbf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a540",
  "rgb": {
    "r": 182,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 51.356,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71737,
    "c": 0.12176,
    "h": 99.7
  },
  "luminance": 0.37226
}

Semantic roles & 50–950 ramp

primary
#B6A540
secondary
#8C94C6
accent
#64D850
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B6A540

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

Preview Lab → · Contrast checker → · Palette generator →

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