#B6A530#B6A530

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

Color values

HEX#B6A530
RGBrgb(182, 165, 48)
HSLhsl(52, 58%, 45%)
HSVhsv(52, 74%, 71%)
CMYKcmyk(0%, 9.3%, 73.6%, 28.6%)
CIE-LABlab(67.33, -6.76, 59.22)
CIE-LCHlch(67.33, 59.60, 96.51°)
OKLaboklab(71.61% -0.0248 0.1307)
OKLCHoklch(71.61% 0.133 100.7)
XYZxyz(33.2816, 37.0703, 8.1980)
Luminance0.3707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A530 #3041B6
analogous
#B66230 #B6A530 #84B630
triadic
#B6A530 #30B6A5 #A530B6
tetradic
#B6A530 #30B662 #3041B6 #B63084
square
#B6A530 #30B662 #3041B6 #B63084
split-complementary
#B6A530 #3084B6 #6230B6
monochromatic
#554D16 #867923 #B6A530 #D1C152 #DED282

Accessibility & contrast

On white

2.50
#B6A530 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#B6A530 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A530
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A530#FFFFFF#000000##000000
##B6A5301.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01B
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#C4998E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b6a530;
/* rgb */ color: rgb(182, 165, 48);
/* oklch */ color: oklch(71.6% 0.133 100.7);
Tailwind
colors: {
  custom: {
    50: '#d0bf71',
    500: '#b6a530',
    950: '#000000',
  },
}
SCSS
$custom: #b6a530;
$custom-light: #d0bf71;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a530",
  "rgb": {
    "r": 182,
    "g": 165,
    "b": 48
  },
  "hsl": {
    "h": 52.388,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71606,
    "c": 0.13301,
    "h": 100.7
  },
  "luminance": 0.37069
}

Semantic roles & 50–950 ramp

primary
#B6A530
secondary
#7B84C7
accent
#5AE146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A530

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

Preview Lab → · Contrast checker → · Palette generator →

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